Class CommandMethod

All Implemented Interfaces:
AnalysisResult, Executor, NestedStructure, Command

public class CommandMethod extends AbstractInsecureCommand
  • Constructor Details

    • CommandMethod

      public CommandMethod()
  • Method Details

    • execute

      public void execute(Interpreter interpreter) throws ScriptBasicException
      Specified by:
      execute in interface Executor
      Specified by:
      execute in class AbstractCommand
      Parameters:
      interpreter - parameter
      Throws:
      ScriptBasicException - in case there was an exception
    • getKlass

      public Class<?> getKlass()
      Returns:
      the klass
    • setKlass

      public void setKlass(Class<?> klass)
      Parameters:
      klass - the klass to set
    • getMethodName

      public String getMethodName()
      Returns:
      the methodName
    • setMethodName

      public void setMethodName(String methodName)
      Parameters:
      methodName - the methodName to set
    • getArgumentTypes

      public Class<?>[] getArgumentTypes()
      Returns:
      the argumentTypes
    • setArgumentTypes

      public void setArgumentTypes(Class<?>[] argumentTypes)
      Parameters:
      argumentTypes - the argumentTypes to set
    • getAlias

      public String getAlias()
      Returns:
      the alias
    • setAlias

      public void setAlias(String alias)
      Parameters:
      alias - the alias to set