Interface JobTriggerVisitor
-
- All Known Implementing Classes:
QuartzTriggerBuilder
public interface JobTriggerVisitor
A visitor of a job trigger. All objects that need to perform some computations from a trigger's state should implement this interface. See the Visitor pattern.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
visit(CronJobTrigger trigger)
Visits the specified job trigger.void
visit(FixedDateTimeJobTrigger trigger)
Visits the specified job trigger.void
visit(FixedPeriodJobTrigger trigger)
Visits the specified job trigger.
-
-
-
Method Detail
-
visit
void visit(FixedPeriodJobTrigger trigger)
Visits the specified job trigger.- Parameters:
trigger
- the FixedPeriodJobTrigger instance to visit.
-
visit
void visit(CronJobTrigger trigger)
Visits the specified job trigger.- Parameters:
trigger
- the SimpleCronJobTrigger instance to visit.
-
visit
void visit(FixedDateTimeJobTrigger trigger)
Visits the specified job trigger.- Parameters:
trigger
- the FixedDateTimeJobTrigger to visit.
-
-