|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- the consumed typeP
- the produced typepublic interface CommandInvoker<C,P>
The base interface for a shell command.
Method Summary | |
---|---|
Class<C> |
getConsumedType()
Returns the class of the consumed type. |
Class<P> |
getProducedType()
Returns the class of the produced type. |
void |
invoke(InvocationContext<C,P> context)
Invoke a command |
Method Detail |
---|
void invoke(InvocationContext<C,P> context) throws ScriptException
context
- the command execution context
ScriptException
- any script exceptionClass<P> getProducedType()
Class<C> getConsumedType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |