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 Executor
ExecutionException
public void checkedExecute(ExtendedInterpreter interpreter) throws ExecutionException
checkedExecute
in interface Command
ExecutionException
public Command getNextCommand()
getNextCommand
in interface Command
public void setNextCommand(Command nextCommand)
Copyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.