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 enum
The job phases. -
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.
-
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
Returnstrue
if theHistoryJobProcessorContext
is in the specified phase, false otherwise.- Parameters:
phase
- the phase to check- Returns:
true
if theHistoryJobProcessorContext
is in the specified phase, false otherwise.
-