public class CommandMethod extends AbstractCommand
| Constructor and Description |
|---|
CommandMethod() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExtendedInterpreter interpreter) |
String |
getAlias() |
Class<?>[] |
getArgumentTypes() |
Class<?> |
getKlass() |
String |
getMethodName() |
void |
setAlias(String alias) |
void |
setArgumentTypes(Class<?>[] argumentTypes) |
void |
setKlass(Class<?> klass) |
void |
setMethodName(String methodName) |
checkedExecute, getNextCommand, setNextCommandpublic void execute(ExtendedInterpreter interpreter) throws BasicRuntimeException
execute in interface Executorexecute in class AbstractCommandBasicRuntimeExceptionpublic Class<?> getKlass()
public void setKlass(Class<?> klass)
klass - the klass to setpublic String getMethodName()
public void setMethodName(String methodName)
methodName - the methodName to setpublic Class<?>[] getArgumentTypes()
public void setArgumentTypes(Class<?>[] argumentTypes)
argumentTypes - the argumentTypes to setpublic String getAlias()
public void setAlias(String alias)
alias - the alias to setCopyright © 2013 Verhas and Verhas Software Craftsmen. All Rights Reserved.