Enum ActionDTO.StateEnum
- java.lang.Object
-
- java.lang.Enum<ActionDTO.StateEnum>
-
- org.wso2.am.integration.clients.governance.api.dto.ActionDTO.StateEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ActionDTO.StateEnum>
- Enclosing class:
- ActionDTO
public static enum ActionDTO.StateEnum extends Enum<ActionDTO.StateEnum>
The state of the artifact to which the action is linked to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classActionDTO.StateEnum.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 ActionDTO.StateEnumfromValue(String value)StringgetValue()StringtoString()static ActionDTO.StateEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ActionDTO.StateEnum[]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 ActionDTO.StateEnum API_CREATE
-
API_UPDATE
public static final ActionDTO.StateEnum API_UPDATE
-
API_DEPLOY
public static final ActionDTO.StateEnum API_DEPLOY
-
API_PUBLISH
public static final ActionDTO.StateEnum API_PUBLISH
-
-
Method Detail
-
values
public static ActionDTO.StateEnum[] 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 (ActionDTO.StateEnum c : ActionDTO.StateEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActionDTO.StateEnum 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<ActionDTO.StateEnum>
-
fromValue
public static ActionDTO.StateEnum fromValue(String value)
-
-