Uses of Class
ch.obermuhlner.scriptengine.java.execution.MethodExecutionStrategy
Packages that use MethodExecutionStrategy
-
Uses of MethodExecutionStrategy in ch.obermuhlner.scriptengine.java.execution
Methods in ch.obermuhlner.scriptengine.java.execution that return MethodExecutionStrategyModifier and TypeMethodDescriptionstatic MethodExecutionStrategy
MethodExecutionStrategy.byArgumentTypes
(Class<?> clazz, String methodName, Class<?>[] argumentTypes, Object... arguments) Creates aMethodExecutionStrategy
that will call the public method with the specified argument types and passes the specified argument list.static MethodExecutionStrategy
MethodExecutionStrategy.byMainMethod
(Class<?> clazz, String... arguments) Creates aMethodExecutionStrategy
that will call thepublic static void main(String[] args)
with the specified arguments.static MethodExecutionStrategy
MethodExecutionStrategy.byMatchingArguments
(Class<?> clazz, String methodName, Object... arguments) Creates aMethodExecutionStrategy
that will call a public method that matches the specified arguments.static MethodExecutionStrategy
Creates aMethodExecutionStrategy
that will call the specifiedMethod
.