Class ActionContext


  • public class ActionContext
    extends Object
    Provide a Job Action execution context.
    Since:
    4.0.0
    • Constructor Detail

      • ActionContext

        public ActionContext​(JobAction jobAction,
                             JobDef jobDef,
                             Map<String,​String> jobControllerParameters,
                             Map<String,​String> jobProperties)
        Create a Job ActionContext with the given Job Action, Job Def and Job Properties.
        Parameters:
        jobAction - the Job Action (required)
        jobDef - the Job Def (required)
        jobControllerParameters - the map of job controller service definition service parameter values (required)
        jobProperties - the Job Properties (required)
      • ActionContext

        public ActionContext​(JobAction jobAction,
                             JobDef jobDef,
                             Map<String,​String> jobControllerParameters,
                             Map<String,​String> jobProperties,
                             ActionDef actionDef)
        Create a Job ActionContext with the given Job Action, Job Def and Job Properties.
        Parameters:
        jobAction - the Job Action (required)
        jobDef - the Job Def (required)
        jobControllerParameters - the map of job controller service definition service parameter values (required)
        jobProperties - the Job Properties (required)
        actionDef - the ActionDef action definition (required)
        Since:
        4.3.4
    • Method Detail

      • getJobDef

        public JobDef getJobDef()
        Returns:
        the jobDef
      • getStepDef

        public StepDef getStepDef()
        Returns:
        the stepDef
      • getActionDef

        public ActionDef getActionDef()
        Returns:
        the actionDef
      • getJobAction

        public JobAction getJobAction()
        Returns:
        the jobAction
      • getJobProperties

        public Map<String,​String> getJobProperties()
        Returns:
        the jobProperties
      • getJobControllerParameters

        public Map<String,​String> getJobControllerParameters()
        Returns the map of job controller service definition service parameter values
        Returns:
        the map of job controller service definition service parameter values
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        the string representation of this object