Package org.jppf.job

Enum Class JobEventType

java.lang.Object
java.lang.Enum<JobEventType>
org.jppf.job.JobEventType
All Implemented Interfaces:
Serializable, Comparable<JobEventType>, Constable

public enum JobEventType extends Enum<JobEventType>
This enum describes the types of events emitted by a JPPFJobManager.
Author:
Laurent Cohen
  • Enum Constant Details

    • JOB_QUEUED

      public static final JobEventType JOB_QUEUED
      A new job was submitted to the JPPF driver queue.
    • JOB_ENDED

      public static final JobEventType JOB_ENDED
      A job was completed and sent back to the client.
    • JOB_DISPATCHED

      public static final JobEventType JOB_DISPATCHED
      A sub-job was dispatched to a node.
    • JOB_RETURNED

      public static final JobEventType JOB_RETURNED
      A sub-job returned from a node.
    • JOB_UPDATED

      public static final JobEventType JOB_UPDATED
      One or more attributes of a job, possibly including its current number of tasks, has changed.
  • Method Details

    • values

      public static JobEventType[] 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

      public static JobEventType valueOf(String name)
      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 name
      NullPointerException - if the argument is null