public abstract class AbstractCommand extends Object implements Executor, Command, NestedStructure
| Constructor and Description |
|---|
AbstractCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkedExecute(ExtendedInterpreter interpreter) |
abstract void |
execute(ExtendedInterpreter interpreter) |
Command |
getNextCommand()
Get the next command that has to be executed unless some condition alters
this, like in case of If, While and similar.
|
void |
setNextCommand(Command nextCommand) |
public abstract void execute(ExtendedInterpreter interpreter) throws ExecutionException
execute in interface ExecutorExecutionExceptionpublic void checkedExecute(ExtendedInterpreter interpreter) throws ExecutionException
checkedExecute in interface CommandExecutionExceptionpublic Command getNextCommand()
getNextCommand in interface Commandpublic void setNextCommand(Command nextCommand)
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.