|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.toolforge.karma.core.cmd.DefaultCommand
nl.toolforge.karma.core.cmd.impl.CommandFaker
Bogus implementation of DefaultCommand. Used in testcases.
| Constructor Summary | |
CommandFaker(CommandDescriptor descriptor)
|
|
| Method Summary | |
void |
execute()
Executes the command. |
CommandResponse |
getCommandResponse()
Return the specific CommandResponse object that this command uses. |
| Methods inherited from class nl.toolforge.karma.core.cmd.DefaultCommand |
cleanUp, deregisterCommandResponseListener, getAlias, getCommandLine, getContext, getDescription, getFrontendMessages, getHelp, getName, getResponseListener, getWorkingContext, registerCommandResponseListener, setCommandLine, setContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CommandFaker(CommandDescriptor descriptor)
throws KarmaException
| Method Detail |
public void execute()
throws CommandException
Command
CommandException - When execution failed. This exception catches all underlying exceptions and rethrows them
as a CommandException, except for RuntimeExceptions.public CommandResponse getCommandResponse()
CommandCommandResponse object that this command uses.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||