Class CommandTask

    • Constructor Detail

      • CommandTask

        public CommandTask()
    • Method Detail

      • executable

        public CommandTask executable​(@NotNull
                                      @NotNull java.lang.String executable)
        Sets label (not a path) of command to be executed. This label must be first defined in the GUI on the Administration/Executables page. This field is mandatory
      • argument

        public CommandTask argument​(@NotNull
                                    @NotNull java.lang.String argument)
        Sets command line argument to be passed when command is executed.
      • environmentVariables

        public CommandTask environmentVariables​(@NotNull
                                                @NotNull java.lang.String environmentVariables)
        Sets environment variables to be set when command is executed.
      • workingSubdirectory

        public CommandTask workingSubdirectory​(@NotNull
                                               @NotNull java.lang.String workingSubdirectory)
        Sets a directory the command should be executed in.