|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.toolforge.karma.cli.cmd.CLICommandResponseHandler
This class is responsible for handling CommandResponses in an interactive way. Each time a CommandResponse changes, the changes are logged through the writer.
| Constructor Summary | |
CLICommandResponseHandler()
|
|
| Method Summary | |
void |
commandFinished(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
Calls messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent). |
void |
commandStarted(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
Calls messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent). |
void |
messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
Writes the events' message text to System.out. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CLICommandResponseHandler()
| Method Detail |
public void commandStarted(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent).
commandStarted in interface nl.toolforge.karma.core.cmd.event.CommandResponseListenerevent - An event.public void commandFinished(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent).
commandFinished in interface nl.toolforge.karma.core.cmd.event.CommandResponseListenerevent - An event.public void messageLogged(nl.toolforge.karma.core.cmd.event.CommandResponseEvent event)
System.out.
messageLogged in interface nl.toolforge.karma.core.cmd.event.CommandResponseListenerevent - An event.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||