|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StackableCommandProcessor
Command processor specialization that can be used in a StackedCommandProcessor. Stacked command processors need a reference to the stack's root environment so that the commands or the command processors can manipulate the stack. They can also tell the stack if they can or cannot handle a specific command.
Method Summary | |
---|---|
boolean |
canExecute(Command cmd)
Returns true if this command processor can execute the specified command. |
StackEnvironment |
getStackEnvironment()
Returns the stack environment providing access to the command processor stack. |
void |
setStackEnvironment(StackEnvironment env)
Sets the stack environment providing access to the command processor stack. |
Methods inherited from interface org.progeeks.cmd.CommandProcessor |
---|
execute |
Method Detail |
---|
boolean canExecute(Command cmd)
void setStackEnvironment(StackEnvironment env)
StackEnvironment getStackEnvironment()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |