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 HistoryJobEntityprotected 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.booleanReturnstrueif theHistoryJobProcessorContextis 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:HistoryJobProcessorContextGet the history job phase.- Specified by:
getPhasein interfaceHistoryJobProcessorContext- Returns:
- the history job phase
-
getHistoryJobEntity
Description copied from interface:HistoryJobProcessorContextGet the history job entity.- Specified by:
getHistoryJobEntityin interfaceHistoryJobProcessorContext- Returns:
- the history job entity
-
isInPhase
Description copied from interface:HistoryJobProcessorContextReturnstrueif theHistoryJobProcessorContextis in the specified phase, false otherwise.- Specified by:
isInPhasein interfaceHistoryJobProcessorContext- Parameters:
phase- the phase to check- Returns:
trueif theHistoryJobProcessorContextis in the specified phase, false otherwise.
-
toString
-