Package org.pentaho.platform.api.engine
Interface IScheduledJob
-
public interface IScheduledJob
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATE_BLOCKEDAScheduledJobarrives at the blocked state when the job that it is associated with is aStatefulJoband it is currently executing.static intSTATE_COMPLETEThe trigger has no remaining fire-times in its schedule.static intSTATE_ERRORAScheduledJobarrives at the error state when the scheduler attempts to fire it, but cannot due to an error creating and executing its related job.static intSTATE_NONEIndicates that theScheduledJobdoes not exist.static intSTATE_NORMALstatic intSTATE_PAUSED
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetDescription()StringgetErrorMessage()intgetExecutionState()DategetLastTriggerTime()DategetNextTriggerTime()StringgetUniqueId()
-
-
-
Field Detail
-
STATE_NORMAL
static final int STATE_NORMAL
- See Also:
- Constant Field Values
-
STATE_PAUSED
static final int STATE_PAUSED
- See Also:
- Constant Field Values
-
STATE_COMPLETE
static final int STATE_COMPLETE
The trigger has no remaining fire-times in its schedule.- See Also:
- Constant Field Values
-
STATE_ERROR
static final int STATE_ERROR
AScheduledJobarrives 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 theJob's class not existing in the classpath.When the ScheduledJob is in the error state, the scheduler will make no attempts to fire it.
- See Also:
- Constant Field Values
-
STATE_BLOCKED
static final int STATE_BLOCKED
AScheduledJobarrives at the blocked state when the job that it is associated with is aStatefulJoband it is currently executing.- See Also:
StatefulJob, Constant Field Values
-
STATE_NONE
static final int STATE_NONE
Indicates that the
ScheduledJobdoes not exist.- See Also:
- Constant Field Values
-
-