Enum APIMGovernancePolicyDTO.GovernableStatesEnum
- java.lang.Object
-
- java.lang.Enum<APIMGovernancePolicyDTO.GovernableStatesEnum>
-
- org.wso2.am.integration.clients.governance.api.dto.APIMGovernancePolicyDTO.GovernableStatesEnum
-
- All Implemented Interfaces:
Serializable,Comparable<APIMGovernancePolicyDTO.GovernableStatesEnum>
- Enclosing class:
- APIMGovernancePolicyDTO
public static enum APIMGovernancePolicyDTO.GovernableStatesEnum extends Enum<APIMGovernancePolicyDTO.GovernableStatesEnum>
The state at which an governance policy should be enforced.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAPIMGovernancePolicyDTO.GovernableStatesEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description API_CREATEAPI_DEPLOYAPI_PUBLISHAPI_UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static APIMGovernancePolicyDTO.GovernableStatesEnumfromValue(String value)StringgetValue()StringtoString()static APIMGovernancePolicyDTO.GovernableStatesEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static APIMGovernancePolicyDTO.GovernableStatesEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
API_CREATE
public static final APIMGovernancePolicyDTO.GovernableStatesEnum API_CREATE
-
API_UPDATE
public static final APIMGovernancePolicyDTO.GovernableStatesEnum API_UPDATE
-
API_DEPLOY
public static final APIMGovernancePolicyDTO.GovernableStatesEnum API_DEPLOY
-
API_PUBLISH
public static final APIMGovernancePolicyDTO.GovernableStatesEnum API_PUBLISH
-
-
Method Detail
-
values
public static APIMGovernancePolicyDTO.GovernableStatesEnum[] 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 (APIMGovernancePolicyDTO.GovernableStatesEnum c : APIMGovernancePolicyDTO.GovernableStatesEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APIMGovernancePolicyDTO.GovernableStatesEnum 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<APIMGovernancePolicyDTO.GovernableStatesEnum>
-
fromValue
public static APIMGovernancePolicyDTO.GovernableStatesEnum fromValue(String value)
-
-