Last change
on this file since 638 was
479,
checked in by sherbold, 12 years ago
|
- converted java-utils-test to Maven project
|
-
Property svn:mime-type set to
text/plain
|
File size:
364 bytes
|
Rev | Line | |
---|
[319] | 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.