Interface JobProcessorContext
- All Known Implementing Classes:
JobProcessorContextImpl
public interface JobProcessorContext
The context used in the
JobProcessor. It holds the job phase and the
job entity.- Author:
- Guy Brand
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the job entity.getPhase()Get the job phase.booleanReturnstrueif theJobProcessorContextis in the specified phase, false otherwise.
-
Method Details
-
getPhase
-
getJobEntity
-
isInPhase
Returnstrueif theJobProcessorContextis in the specified phase, false otherwise.- Parameters:
phase- the phase to check- Returns:
trueif theJobProcessorContextis in the specified phase, false otherwise.
-