Package org.flowable.job.service
Interface HistoryJobProcessorContext
- All Known Implementing Classes:
HistoryJobProcessorContextImpl
public interface HistoryJobProcessorContext
The context used in the
HistoryJobProcessor. It holds the history job phase and the
history job entity.- Author:
- Guy Brand
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe job phases. -
Method Summary
Modifier and TypeMethodDescriptionGet the history job entity.getPhase()Get the history job phase.booleanReturnstrueif theHistoryJobProcessorContextis in the specified phase, false otherwise.
-
Method Details
-
getPhase
HistoryJobProcessorContext.Phase getPhase()Get the history job phase.- Returns:
- the history job phase
-
getHistoryJobEntity
HistoryJobEntity getHistoryJobEntity()Get the history job entity.- Returns:
- the history job entity
-
isInPhase
Returnstrueif theHistoryJobProcessorContextis in the specified phase, false otherwise.- Parameters:
phase- the phase to check- Returns:
trueif theHistoryJobProcessorContextis in the specified phase, false otherwise.
-