Package org.flowable.job.service.impl
Class JobProcessorContextImpl
java.lang.Object
org.flowable.job.service.impl.JobProcessorContextImpl
- All Implemented Interfaces:
JobProcessorContext
The default
JobProcessorContext implementation used in the JobProcessor.- Author:
- Guy Brand
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.job.service.JobProcessorContext
JobProcessorContext.Phase -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final AbstractJobEntityprotected final JobProcessorContext.Phase -
Constructor Summary
ConstructorsConstructorDescriptionJobProcessorContextImpl(JobProcessorContext.Phase phase, AbstractJobEntity jobEntity) -
Method Summary
Modifier and TypeMethodDescriptionGet the job entity.getPhase()Get the job phase.booleanReturnstrueif theJobProcessorContextis in the specified phase, false otherwise.toString()
-
Field Details
-
phase
-
jobEntity
-
-
Constructor Details
-
JobProcessorContextImpl
-
-
Method Details
-
getPhase
Description copied from interface:JobProcessorContextGet the job phase.- Specified by:
getPhasein interfaceJobProcessorContext- Returns:
- the job phase
-
getJobEntity
Description copied from interface:JobProcessorContextGet the job entity.- Specified by:
getJobEntityin interfaceJobProcessorContext- Returns:
- the job entity
-
isInPhase
Description copied from interface:JobProcessorContextReturnstrueif theJobProcessorContextis in the specified phase, false otherwise.- Specified by:
isInPhasein interfaceJobProcessorContext- Parameters:
phase- the phase to check- Returns:
trueif theJobProcessorContextis in the specified phase, false otherwise.
-
toString
-