Enum Class CapacityType

java.lang.Object
java.lang.Enum<CapacityType>
com.sforce.soap.metadata.CapacityType
All Implemented Interfaces:
Serializable, Comparable<CapacityType>, java.lang.constant.Constable

public enum CapacityType extends Enum<CapacityType>
This is a generated class for the SObject Enterprise API. Do not edit this file, as your changes will be lost.
  • Enum Constant Details

    • INHERITED

      public static final CapacityType INHERITED
      Enumeration : INHERITED
    • INTERRUPTIBLE

      public static final CapacityType INTERRUPTIBLE
      Enumeration : INTERRUPTIBLE
    • NOT_INTERRUPTIBLE

      public static final CapacityType NOT_INTERRUPTIBLE
      Enumeration : NOT_INTERRUPTIBLE
  • Field Details

  • Method Details

    • values

      public static CapacityType[] 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 CapacityType 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<CapacityType>