Package com.sap.cloud.security.config.cf
Enum CFConstants.Plan
- java.lang.Object
-
- java.lang.Enum<CFConstants.Plan>
-
- com.sap.cloud.security.config.cf.CFConstants.Plan
-
- All Implemented Interfaces:
Serializable,Comparable<CFConstants.Plan>
- Enclosing class:
- CFConstants
public static enum CFConstants.Plan extends Enum<CFConstants.Plan>
Represents the service plans on CF marketplace. The various plans are considered inCFEnvironment#loadXsuaa()
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CFConstants.Planfrom(String planAsString)StringtoString()static CFConstants.PlanvalueOf(String name)Returns the enum constant of this type with the specified name.static CFConstants.Plan[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final CFConstants.Plan DEFAULT
-
BROKER
public static final CFConstants.Plan BROKER
-
APPLICATION
public static final CFConstants.Plan APPLICATION
-
SPACE
public static final CFConstants.Plan SPACE
-
APIACCESS
public static final CFConstants.Plan APIACCESS
-
SYSTEM
public static final CFConstants.Plan SYSTEM
-
-
Method Detail
-
values
public static CFConstants.Plan[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CFConstants.Plan c : CFConstants.Plan.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CFConstants.Plan 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 nameNullPointerException- if the argument is null
-
from
public static CFConstants.Plan from(String planAsString)
-
toString
public String toString()
- Overrides:
toStringin classEnum<CFConstants.Plan>
-
-