Class ClassExecutor

    • Constructor Detail

      • ClassExecutor

        public ClassExecutor()
    • Method Detail

      • execute

        public 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. This method calls the send method of the specified class in
        Specified by:
        execute in interface ExecutorStrategy
        Parameters:
        className - the command/class to execute/instantiate
        arguments - a list of Argument objects that need to be passed to the command line call or the class execute method
        Returns:
        int, the return code of the command/execute method