public class ClassExecutor extends Object implements ExecutorStrategy
Constructor and Description |
---|
ClassExecutor() |
Modifier and Type | Method and Description |
---|---|
int |
execute(String className,
List<Argument> arguments)
Implement this method to support execute style commands such as a system
command or to instantiate a Java class.
|
public int execute(String className, List<Argument> arguments)
execute
in interface ExecutorStrategy
className
- the command/class to execute/instantiatearguments
- a list of Argument objects that need to be passed to the
command line call or the class execute methodCopyright © 2021. All rights reserved.