Class MethodExecutionStrategy

java.lang.Object
ch.obermuhlner.scriptengine.java.execution.MethodExecutionStrategy
All Implemented Interfaces:
ExecutionStrategy

public class MethodExecutionStrategy extends Object implements ExecutionStrategy
The ExecutionStrategy that executes a specific method. This implementation has three static constructor methods to define the method that should be called:
  • Field Details

    • method

      private Method method
    • arguments

      private Object[] arguments
  • Constructor Details

    • MethodExecutionStrategy

      private MethodExecutionStrategy(Method method, Object... arguments)
  • Method Details