Enum Class JobState

java.lang.Object
java.lang.Enum<JobState>
org.basex.core.jobs.JobState
All Implemented Interfaces:
Serializable, Comparable<JobState>, java.lang.constant.Constable

public enum JobState extends Enum<JobState>
Job state.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
  • Enum Constant Details

    • SCHEDULED

      public static final JobState SCHEDULED
      Scheduled.
    • QUEUED

      public static final JobState QUEUED
      Queued.
    • RUNNING

      public static final JobState RUNNING
      Running.
    • STOPPED

      public static final JobState STOPPED
      Stopped.
    • TIMEOUT

      public static final JobState TIMEOUT
      Timeout.
    • MEMORY

      public static final JobState MEMORY
      Memory.
    • CACHED

      public static final JobState CACHED
      Cached.
  • Method Details

    • values

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