public enum RestrictionCode extends Enum<RestrictionCode>
| Enum Constant and Description |
|---|
DOWNGRADE_OF_PLAN_NOT_ALLOWED |
INSUFFICIENT_PERMISSIONS |
INVALID_EDITION |
MAX_ENTITLEMENTS_REACHED |
PREREQUISITE_CONDITION_NOT_SATISFIED |
SEAT_CHANGE_NOT_ALLOWED |
TERMS_OF_SERVICE_NOT_ACCEPTED |
UPGRADE_OF_PLAN_NOT_ALLOWED |
| Modifier and Type | Method and Description |
|---|---|
static RestrictionCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestrictionCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestrictionCode TERMS_OF_SERVICE_NOT_ACCEPTED
public static final RestrictionCode UPGRADE_OF_PLAN_NOT_ALLOWED
public static final RestrictionCode DOWNGRADE_OF_PLAN_NOT_ALLOWED
public static final RestrictionCode SEAT_CHANGE_NOT_ALLOWED
public static final RestrictionCode INSUFFICIENT_PERMISSIONS
public static final RestrictionCode INVALID_EDITION
public static final RestrictionCode PREREQUISITE_CONDITION_NOT_SATISFIED
public static final RestrictionCode MAX_ENTITLEMENTS_REACHED
public static RestrictionCode[] values()
for (RestrictionCode c : RestrictionCode.values()) System.out.println(c);
public static RestrictionCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020 Pivotal Software, Inc.. All rights reserved.