Enum APILifeCycleAction
- java.lang.Object
-
- java.lang.Enum<APILifeCycleAction>
-
- org.wso2.am.integration.test.utils.bean.APILifeCycleAction
-
- All Implemented Interfaces:
Serializable,Comparable<APILifeCycleAction>
public enum APILifeCycleAction extends Enum<APILifeCycleAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKDEMOTE_TO_CREATEDEPLOY_AS_PROTOTYPEDEPRECATEPROMOTEPUBLISHRE_PUBLISHRETIRE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()static APILifeCycleActionvalueOf(String name)Returns the enum constant of this type with the specified name.static APILifeCycleAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISH
public static final APILifeCycleAction PUBLISH
-
DEPLOY_AS_PROTOTYPE
public static final APILifeCycleAction DEPLOY_AS_PROTOTYPE
-
BLOCK
public static final APILifeCycleAction BLOCK
-
DEPRECATE
public static final APILifeCycleAction DEPRECATE
-
RETIRE
public static final APILifeCycleAction RETIRE
-
RE_PUBLISH
public static final APILifeCycleAction RE_PUBLISH
-
PROMOTE
public static final APILifeCycleAction PROMOTE
-
DEMOTE_TO_CREATE
public static final APILifeCycleAction DEMOTE_TO_CREATE
-
-
Method Detail
-
values
public static APILifeCycleAction[] 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 (APILifeCycleAction c : APILifeCycleAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APILifeCycleAction 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
-
getAction
public String getAction()
-
-