Package org.flowable.job.service
Interface HistoryJobProcessorContext
-
- All Known Implementing Classes:
HistoryJobProcessorContextImpl
public interface HistoryJobProcessorContextThe context used in theHistoryJobProcessor. It holds the history job phase and the history job entity.- Author:
- Guy Brand
- See Also:
HistoryJobProcessorContext.Phase
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classHistoryJobProcessorContext.PhaseThe job phases.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HistoryJobEntitygetHistoryJobEntity()Get the history job entity.HistoryJobProcessorContext.PhasegetPhase()Get the history job phase.booleanisInPhase(HistoryJobProcessorContext.Phase phase)Returnstrueif theHistoryJobProcessorContextis in the specified phase, false otherwise.
-
-
-
Method Detail
-
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
boolean isInPhase(HistoryJobProcessorContext.Phase phase)
Returnstrueif theHistoryJobProcessorContextis in the specified phase, false otherwise.- Parameters:
phase- the phase to check- Returns:
trueif theHistoryJobProcessorContextis in the specified phase, false otherwise.
-
-