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 AbstractJobEntity
protected final JobProcessorContext.Phase
-
Constructor Summary
ConstructorsConstructorDescriptionJobProcessorContextImpl
(JobProcessorContext.Phase phase, AbstractJobEntity jobEntity) -
Method Summary
Modifier and TypeMethodDescriptionGet the job entity.getPhase()
Get the job phase.boolean
Returnstrue
if theJobProcessorContext
is in the specified phase, false otherwise.toString()
-
Field Details
-
phase
-
jobEntity
-
-
Constructor Details
-
JobProcessorContextImpl
-
-
Method Details
-
getPhase
Description copied from interface:JobProcessorContext
Get the job phase.- Specified by:
getPhase
in interfaceJobProcessorContext
- Returns:
- the job phase
-
getJobEntity
Description copied from interface:JobProcessorContext
Get the job entity.- Specified by:
getJobEntity
in interfaceJobProcessorContext
- Returns:
- the job entity
-
isInPhase
Description copied from interface:JobProcessorContext
Returnstrue
if theJobProcessorContext
is in the specified phase, false otherwise.- Specified by:
isInPhase
in interfaceJobProcessorContext
- Parameters:
phase
- the phase to check- Returns:
true
if theJobProcessorContext
is in the specified phase, false otherwise.
-
toString
-