Class CommandMethod
java.lang.Object
com.scriptbasic.executors.commands.AbstractCommand
com.scriptbasic.executors.commands.AbstractInsecureCommand
com.scriptbasic.executors.commands.CommandMethod
- All Implemented Interfaces:
AnalysisResult,Executor,NestedStructure,Command
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(Interpreter interpreter) getAlias()Class<?>[]Class<?> getKlass()voidvoidsetArgumentTypes(Class<?>[] argumentTypes) voidvoidsetMethodName(String methodName) Methods inherited from class com.scriptbasic.executors.commands.AbstractInsecureCommand
assertInsecureMethods inherited from class com.scriptbasic.executors.commands.AbstractCommand
checkedExecute, getNextCommand, setNextCommand
-
Constructor Details
-
CommandMethod
public CommandMethod()
-
-
Method Details
-
execute
- Specified by:
executein interfaceExecutor- Specified by:
executein classAbstractCommand- Parameters:
interpreter- parameter- Throws:
ScriptBasicException- in case there was an exception
-
getKlass
- Returns:
- the klass
-
setKlass
- Parameters:
klass- the klass to set
-
getMethodName
- Returns:
- the methodName
-
setMethodName
- Parameters:
methodName- the methodName to set
-
getArgumentTypes
- Returns:
- the argumentTypes
-
setArgumentTypes
- Parameters:
argumentTypes- the argumentTypes to set
-
getAlias
- Returns:
- the alias
-
setAlias
- Parameters:
alias- the alias to set
-