public interface IScheduledJob
Modifier and Type | Field and Description |
---|---|
static int |
STATE_BLOCKED
A
ScheduledJob arrives at the blocked state when the job that it is associated with is a
StatefulJob and it is currently executing. |
static int |
STATE_COMPLETE
The trigger has no remaining fire-times in its schedule.
|
static int |
STATE_ERROR
A
ScheduledJob arrives at the error state when the scheduler attempts to fire it, but cannot due
to an error creating and executing its related job. |
static int |
STATE_NONE
Indicates that the
ScheduledJob does not exist. |
static int |
STATE_NORMAL |
static int |
STATE_PAUSED |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getErrorMessage() |
int |
getExecutionState() |
Date |
getLastTriggerTime() |
Date |
getNextTriggerTime() |
String |
getUniqueId() |
static final int STATE_NORMAL
static final int STATE_PAUSED
static final int STATE_COMPLETE
static final int STATE_ERROR
ScheduledJob
arrives at the error state when the scheduler attempts to fire it, but cannot due
to an error creating and executing its related job. Often this is due to the Job
's class not
existing in the classpath.
When the ScheduledJob is in the error state, the scheduler will make no attempts to fire it.
static final int STATE_BLOCKED
ScheduledJob
arrives at the blocked state when the job that it is associated with is a
StatefulJob
and it is currently executing. StatefulJob
,
Constant Field Valuesstatic final int STATE_NONE
Indicates that the ScheduledJob
does not exist.
Copyright © 2020 Hitachi Vantara. All rights reserved.