public class HistoryJobProcessorContextImpl extends Object implements HistoryJobProcessorContext
HistoryJobProcessorContext implementation used in the HistoryJobProcessor.HistoryJobProcessorHistoryJobProcessorContext.Phase| Modifier and Type | Field and Description |
|---|---|
protected HistoryJobEntity |
historyJobEntity |
protected HistoryJobProcessorContext.Phase |
phase |
| Constructor and Description |
|---|
HistoryJobProcessorContextImpl(HistoryJobProcessorContext.Phase phase,
HistoryJobEntity historyJobEntity) |
| Modifier and Type | Method and Description |
|---|---|
HistoryJobEntity |
getHistoryJobEntity()
Get the history job entity.
|
HistoryJobProcessorContext.Phase |
getPhase()
Get the history job phase.
|
boolean |
isInPhase(HistoryJobProcessorContext.Phase phase)
Returns
true if the HistoryJobProcessorContext is in the specified phase, false otherwise. |
String |
toString() |
protected final HistoryJobProcessorContext.Phase phase
protected final HistoryJobEntity historyJobEntity
public HistoryJobProcessorContextImpl(HistoryJobProcessorContext.Phase phase, HistoryJobEntity historyJobEntity)
public HistoryJobProcessorContext.Phase getPhase()
HistoryJobProcessorContextgetPhase in interface HistoryJobProcessorContextpublic HistoryJobEntity getHistoryJobEntity()
HistoryJobProcessorContextgetHistoryJobEntity in interface HistoryJobProcessorContextpublic boolean isInPhase(HistoryJobProcessorContext.Phase phase)
HistoryJobProcessorContexttrue if the HistoryJobProcessorContext is in the specified phase, false otherwise.isInPhase in interface HistoryJobProcessorContextphase - the phase to checktrue if the HistoryJobProcessorContext is in the specified phase, false otherwise.Copyright © 2018 Flowable. All rights reserved.