@PublicAPI public enum SchedulerEvent extends Enum<SchedulerEvent>
This is also used to choose which events you want to received from the scheduler.
for more details.
$Id$
Enum Constant and Description |
---|
DB_DOWN
The database is no more available.
|
FROZEN
The scheduler has just been frozen, this pause will stop every process except the running one.
|
JOB_ABORTED
A job has been aborted due to a node failure, manuel kill by the user, or error policy
This event is only used in the JobEmailNotification to filter aborted jobs from finished jobs
|
JOB_CHANGE_PRIORITY
The priority of a job has just been change.
|
JOB_IN_ERROR
A job has just been paused on error.
|
JOB_PAUSED
A job has just been paused.
|
JOB_PENDING_TO_FINISHED
A job has been terminated from pending queue.
|
JOB_PENDING_TO_RUNNING
A job has just been scheduled.
|
JOB_REMOVE_FINISHED
A job has just been removed from scheduler.
|
JOB_RESTARTED_FROM_ERROR
A job has just been restarted from error.
|
JOB_RESUMED
A job has just been resumed.
|
JOB_RUNNING_TO_FINISHED
A job has just finished.
|
JOB_RUNNING_TO_FINISHED_WITH_ERRORS
A job has been terminated with at least one faulty task
This event is only used in the JobEmailNotification to filter finishied jobs with errors from all finished jobs
|
JOB_SUBMITTED
A job has just been submitted.
|
JOB_UPDATED
A job has just been updated.
|
KILLED
The scheduler has just been killed.
|
PAUSED
The scheduler has just been paused.
|
POLICY_CHANGED
The scheduling policy has been changed.
|
RESUMED
The scheduler has just been resumed.
|
RM_DOWN
The Resource Manager is no more available.
|
RM_UP
The Resource Manager is re-available .
|
SHUTDOWN
Deprecated.
|
SHUTTING_DOWN
The scheduler is shutting down.
|
STARTED
The scheduler has just been started.
|
STOPPED
The scheduler has just been stopped.
|
TASK_IN_ERROR
A task has just been paused due to an error while executing
|
TASK_IN_ERROR_TO_FINISHED
A task has just had an error, was marked as finished.
|
TASK_PENDING_TO_RUNNING
A task has just been scheduled.
|
TASK_PROGRESS
A new task progress value is available
|
TASK_REPLICATED
A Control Flow Action led to the replication of a task
|
TASK_RUNNING_TO_FINISHED
A task has just finished.
|
TASK_SKIPPED
A Control Flow Action (branching) led to a task being skipped
|
TASK_VARIABLES_UPDATED
A task variables have been updated
|
TASK_VISU_ACTIVATED
when the visualization is activated on a task
|
TASK_WAITING_FOR_RESTART
A task has just had an error, it will wait for restart.
|
USERS_UPDATE
A user has just connect the scheduler or submit a job.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static SchedulerEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchedulerEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchedulerEvent FROZEN
public static final SchedulerEvent RESUMED
@Deprecated public static final SchedulerEvent SHUTDOWN
public static final SchedulerEvent SHUTTING_DOWN
public static final SchedulerEvent STARTED
public static final SchedulerEvent STOPPED
public static final SchedulerEvent KILLED
public static final SchedulerEvent JOB_PAUSED
public static final SchedulerEvent JOB_PENDING_TO_RUNNING
public static final SchedulerEvent JOB_RESUMED
public static final SchedulerEvent JOB_SUBMITTED
public static final SchedulerEvent JOB_RUNNING_TO_FINISHED
public static final SchedulerEvent JOB_REMOVE_FINISHED
public static final SchedulerEvent TASK_PENDING_TO_RUNNING
public static final SchedulerEvent TASK_RUNNING_TO_FINISHED
public static final SchedulerEvent TASK_WAITING_FOR_RESTART
public static final SchedulerEvent JOB_CHANGE_PRIORITY
public static final SchedulerEvent PAUSED
public static final SchedulerEvent RM_DOWN
public static final SchedulerEvent RM_UP
public static final SchedulerEvent USERS_UPDATE
public static final SchedulerEvent POLICY_CHANGED
public static final SchedulerEvent JOB_PENDING_TO_FINISHED
public static final SchedulerEvent TASK_REPLICATED
public static final SchedulerEvent TASK_SKIPPED
public static final SchedulerEvent TASK_PROGRESS
public static final SchedulerEvent DB_DOWN
public static final SchedulerEvent JOB_IN_ERROR
public static final SchedulerEvent TASK_IN_ERROR
public static final SchedulerEvent JOB_RESTARTED_FROM_ERROR
public static final SchedulerEvent JOB_UPDATED
public static final SchedulerEvent TASK_IN_ERROR_TO_FINISHED
public static final SchedulerEvent JOB_RUNNING_TO_FINISHED_WITH_ERRORS
public static final SchedulerEvent JOB_ABORTED
public static final SchedulerEvent TASK_VISU_ACTIVATED
public static final SchedulerEvent TASK_VARIABLES_UPDATED
public static SchedulerEvent[] values()
for (SchedulerEvent c : SchedulerEvent.values()) System.out.println(c);
public static SchedulerEvent valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()