Package | Description |
---|---|
io.stallion.jobs |
Modifier and Type | Method and Description |
---|---|
JobDefinition |
JobCoordinator.getJobDefinition(String name) |
JobDefinition |
JobDefinition.setAlertThresholdMinutes(int alertThresholdMinutes) |
JobDefinition |
JobDefinition.setJobClass(Class<? extends Job> cls) |
JobDefinition |
JobDefinition.setJobClassName(String className) |
JobDefinition |
JobDefinition.setName(String name) |
JobDefinition |
JobDefinition.setSchedule(Schedule schedule) |
Modifier and Type | Method and Description |
---|---|
void |
JobStatusController.initializeJobStatus(JobDefinition definition,
ZonedDateTime now) |
void |
JobCoordinator.registerJob(JobDefinition job)
Register the given job definition to be run as a recurring class
|
void |
JobCoordinator.registerJobForTest(JobDefinition job,
ZonedDateTime now)
Called by unittests to load the job, with dateTime passed in
to override the current time
|
Copyright © 2016. All rights reserved.