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
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.redhat.parodos.workflow.task.BaseWorkFlowTask
addParameter, getAllParameters, getMainExecutionId, getOptionalParameterValue, getProjectId, getRequiredParameterValue, getWorkFlowCheckers, setBeanName, setWorkFlowCheckersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.redhat.parodos.workflow.task.WorkFlowTask
getAsJsonSchema, getWorkFlowTaskOutputs, getWorkFlowTaskParameters
-
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
-
execute
-