Package com.avoka.fc.core.service.job
Class ActionContext
java.lang.Object
com.avoka.fc.core.service.job.ActionContext
Provide a Job Action execution context.
- Since:
- 4.0.0
-
Constructor Summary
ConstructorDescriptionActionContext
(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
Modifier and TypeMethodDescriptionReturns the map of job controller service definition service parameter valuestoString()
-
Constructor Details
-
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 Details
-
getJobDef
- Returns:
- the jobDef
-
getStepDef
- Returns:
- the stepDef
-
getActionDef
- Returns:
- the actionDef
-
getJobAction
- Returns:
- the jobAction
-
getJobProperties
- Returns:
- the jobProperties
-
getJobControllerParameters
Returns the map of job controller service definition service parameter values- Returns:
- the map of job controller service definition service parameter values
-
toString
-