Package org.flowable.job.service.impl
Class HistoryJobProcessorContextImpl
java.lang.Object
org.flowable.job.service.impl.HistoryJobProcessorContextImpl
- All Implemented Interfaces:
HistoryJobProcessorContext
The default
HistoryJobProcessorContext
implementation used in the HistoryJobProcessor
.- Author:
- Guy Brand
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.job.service.HistoryJobProcessorContext
HistoryJobProcessorContext.Phase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final HistoryJobEntity
protected final HistoryJobProcessorContext.Phase
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryJobProcessorContextImpl
(HistoryJobProcessorContext.Phase phase, HistoryJobEntity historyJobEntity) -
Method Summary
Modifier and TypeMethodDescriptionGet the history job entity.getPhase()
Get the history job phase.boolean
Returnstrue
if theHistoryJobProcessorContext
is in the specified phase, false otherwise.toString()
-
Field Details
-
phase
-
historyJobEntity
-
-
Constructor Details
-
HistoryJobProcessorContextImpl
public HistoryJobProcessorContextImpl(HistoryJobProcessorContext.Phase phase, HistoryJobEntity historyJobEntity)
-
-
Method Details
-
getPhase
Description copied from interface:HistoryJobProcessorContext
Get the history job phase.- Specified by:
getPhase
in interfaceHistoryJobProcessorContext
- Returns:
- the history job phase
-
getHistoryJobEntity
Description copied from interface:HistoryJobProcessorContext
Get the history job entity.- Specified by:
getHistoryJobEntity
in interfaceHistoryJobProcessorContext
- Returns:
- the history job entity
-
isInPhase
Description copied from interface:HistoryJobProcessorContext
Returnstrue
if theHistoryJobProcessorContext
is in the specified phase, false otherwise.- Specified by:
isInPhase
in interfaceHistoryJobProcessorContext
- Parameters:
phase
- the phase to check- Returns:
true
if theHistoryJobProcessorContext
is in the specified phase, false otherwise.
-
toString
-