Enum AllowanceLimitEnforcement

java.lang.Object
java.lang.Enum<AllowanceLimitEnforcement>
co.yellowdog.platform.model.AllowanceLimitEnforcement
All Implemented Interfaces:
Serializable, Comparable<AllowanceLimitEnforcement>, java.lang.constant.Constable

public enum AllowanceLimitEnforcement extends Enum<AllowanceLimitEnforcement>
Defines the limit enforcement options for an empty allowance
  • Enum Constant Details

    • SOFT

      public static final AllowanceLimitEnforcement SOFT
      Existing operations will not be terminated but new operations will be disallowed
    • HARD

      public static final AllowanceLimitEnforcement HARD
      Existing operations will be terminated, possibly after a grace period, and new operations will be disallowed
  • Method Details

    • values

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