Last change
on this file since 323 was
319,
checked in by sherbold, 13 years ago
|
|
-
Property svn:mime-type set to
text/plain
|
File size:
364 bytes
|
Line | |
---|
1 | package de.ugoe.cs.util.console.mock;
|
---|
2 |
|
---|
3 | import de.ugoe.cs.util.console.listener.ICommandListener;
|
---|
4 |
|
---|
5 | public class MockCommandListener implements ICommandListener {
|
---|
6 | private String lastCommand = null;
|
---|
7 |
|
---|
8 | public String getLastCommand() {
|
---|
9 | return lastCommand;
|
---|
10 | }
|
---|
11 |
|
---|
12 | @Override
|
---|
13 | public void commandNotification(String command) {
|
---|
14 | lastCommand = command;
|
---|
15 | }
|
---|
16 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.