Enum Class JobExecution.Type

java.lang.Object
java.lang.Enum<JobExecution.Type>
overit.geocall.scheduler.JobExecution.Type
All Implemented Interfaces:
Serializable, Comparable<JobExecution.Type>, Constable
Enclosing class:
JobExecution

public static enum JobExecution.Type extends Enum<JobExecution.Type>
  • Enum Constant Details

  • Method Details

    • values

      public static JobExecution.Type[] 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 JobExecution.Type 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
    • of

      public static JobExecution.Type of(long code)
      Returns a JobExecution.Type corresponding to the provided code; or throws a IllegalArgumentException otherwise.
      Parameters:
      code - long about a code value.
      Returns:
      a JobExecution.Type corresponding to the provided code; or throws a IllegalArgumentException otherwise.
      Throws:
      IllegalArgumentException - exception thrown in case there is no JobExecution.Type corresponding to the provided value.
    • getCode

      public long getCode()
      Returns a long about the code.
      Returns:
      a long about the code.