Enum CGConstant.DEPLOYMENT_TYPE
- java.lang.Object
-
- java.lang.Enum<CGConstant.DEPLOYMENT_TYPE>
-
- org.wso2.carbon.cloud.gateway.common.CGConstant.DEPLOYMENT_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<CGConstant.DEPLOYMENT_TYPE>
- Enclosing class:
- CGConstant
public static enum CGConstant.DEPLOYMENT_TYPE extends Enum<CGConstant.DEPLOYMENT_TYPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CGConstant.DEPLOYMENT_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static CGConstant.DEPLOYMENT_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVICE
public static final CGConstant.DEPLOYMENT_TYPE SERVICE
-
WEBAPP
public static final CGConstant.DEPLOYMENT_TYPE WEBAPP
-
-
Method Detail
-
values
public static CGConstant.DEPLOYMENT_TYPE[] 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 (CGConstant.DEPLOYMENT_TYPE c : CGConstant.DEPLOYMENT_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CGConstant.DEPLOYMENT_TYPE 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
-
-