Package org.jppf.job
Enum Class JobEventType
- All Implemented Interfaces:
Serializable,Comparable<JobEventType>,Constable
This enum describes the types of events emitted by a JPPFJobManager.
- Author:
- Laurent Cohen
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA sub-job was dispatched to a node.A job was completed and sent back to the client.A new job was submitted to the JPPF driver queue.A sub-job returned from a node.One or more attributes of a job, possibly including its current number of tasks, has changed. -
Method Summary
Modifier and TypeMethodDescriptionstatic JobEventTypeReturns the enum constant of this class with the specified name.static JobEventType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JOB_QUEUED
A new job was submitted to the JPPF driver queue. -
JOB_ENDED
A job was completed and sent back to the client. -
JOB_DISPATCHED
A sub-job was dispatched to a node. -
JOB_RETURNED
A sub-job returned from a node. -
JOB_UPDATED
One or more attributes of a job, possibly including its current number of tasks, has changed.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-