Class ShellRunnerTask

java.lang.Object
com.redhat.parodos.workflow.task.BaseWorkFlowTask
com.redhat.parodos.workflow.task.shell.ShellRunnerTask
All Implemented Interfaces:
WorkFlowTask, Work, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

public class ShellRunnerTask extends BaseWorkFlowTask
ShellRunnerTask takes a script and an optional env and runs them to completion and returns the exit code. For exit code 0 the return status should be successful and for anything else it should be a failure.
  • Field Details

    • DEFAULT_EXECUTION_TIMEOUT_IN_SECONDS

      public static final int DEFAULT_EXECUTION_TIMEOUT_IN_SECONDS
      See Also:
  • Constructor Details

    • ShellRunnerTask

      public ShellRunnerTask()
  • Method Details