Package com.avoka.fc.core.service.job
Class ActionContext
- java.lang.Object
-
- com.avoka.fc.core.service.job.ActionContext
-
public class ActionContext extends Object
Provide a Job Action execution context.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description 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.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionDef
getActionDef()
JobAction
getJobAction()
Map<String,String>
getJobControllerParameters()
Returns the map of job controller service definition service parameter valuesJobDef
getJobDef()
Map<String,String>
getJobProperties()
StepDef
getStepDef()
String
toString()
-
-
-
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
-
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
-
-