Interface JobManager
-
- All Known Implementing Classes:
DefaultJobManager
public interface JobManager
-
-
Field Summary
Fields Modifier and Type Field Description static String
DELEGATE_IMPLEMENTATION
static String
DOMAIN_KEY
static String
DRY_RUN_JOBDETAIL_KEY
static String
EXECUTOR_KEY
static org.quartz.JobKey
NOTIFICATION_JOB
static String
REPORT_KEY
static String
TASK_KEY
static String
TASK_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isRunning(org.quartz.JobKey jobKey)
Map<String,Object>
register(Report report, OffsetDateTime startAt, String executor)
Map<String,Object>
register(SchedTask task, OffsetDateTime startAt, String executor)
void
unregister(Report report)
void
unregister(Task<?> task)
-
-
-
Field Detail
-
TASK_TYPE
static final String TASK_TYPE
- See Also:
- Constant Field Values
-
TASK_KEY
static final String TASK_KEY
- See Also:
- Constant Field Values
-
REPORT_KEY
static final String REPORT_KEY
- See Also:
- Constant Field Values
-
DOMAIN_KEY
static final String DOMAIN_KEY
- See Also:
- Constant Field Values
-
EXECUTOR_KEY
static final String EXECUTOR_KEY
- See Also:
- Constant Field Values
-
DRY_RUN_JOBDETAIL_KEY
static final String DRY_RUN_JOBDETAIL_KEY
- See Also:
- Constant Field Values
-
DELEGATE_IMPLEMENTATION
static final String DELEGATE_IMPLEMENTATION
- See Also:
- Constant Field Values
-
NOTIFICATION_JOB
static final org.quartz.JobKey NOTIFICATION_JOB
-
-
Method Detail
-
isRunning
boolean isRunning(org.quartz.JobKey jobKey) throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
register
Map<String,Object> register(SchedTask task, OffsetDateTime startAt, String executor) throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
register
Map<String,Object> register(Report report, OffsetDateTime startAt, String executor) throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
-
unregister
void unregister(Task<?> task)
-
unregister
void unregister(Report report)
-
-