java.lang.Object
java.lang.Enum<JobSize>
com.blackhillsoftware.smf.smf98.JobSize
All Implemented Interfaces:
Serializable, Comparable<JobSize>, java.lang.constant.Constable

public enum JobSize extends Enum<JobSize>
Job Size, used to group work by size eg subtype 1 consumption section sub buckets, subtype 1024 aggregate buckets.
  • Enum Constant Details

    • ALL

      public static final JobSize ALL
      Constant: 0xFFFF
    • LARGE

      public static final JobSize LARGE
      Constant: 0x01 = 1
    • MEDIUM

      public static final JobSize MEDIUM
      Constant: 0x02 = 2
    • SMALL

      public static final JobSize SMALL
      Constant: 0x03 = 3
    • TINY

      public static final JobSize TINY
      Constant: 0x04 = 4
    • NOT_DEFINED

      public static final JobSize NOT_DEFINED
  • Method Details

    • values

      public static JobSize[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static JobSize valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • from

      public static JobSize from(int value)
      Get the JobSize for an integer value
      Parameters:
      value - the integer value
      Returns:
      the corresponding JobSize