Enum APILifeCycleState
- java.lang.Object
-
- java.lang.Enum<APILifeCycleState>
-
- org.wso2.am.integration.test.utils.bean.APILifeCycleState
-
- All Implemented Interfaces:
Serializable,Comparable<APILifeCycleState>
public enum APILifeCycleState extends Enum<APILifeCycleState>
API life cycle state used too update API's in test cases
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKEDBLOCKED_JAGCREATEDCREATED_JAGDEPRECATEDDEPRECATED_JAGPROMOTEDPROTOTYPEDPROTOTYPED_JAGPUBLISHEDPUBLISHED_JAGRETIREDRETIRED_JAG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetState()static APILifeCycleStatevalueOf(String name)Returns the enum constant of this type with the specified name.static APILifeCycleState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PUBLISHED
public static final APILifeCycleState PUBLISHED
-
CREATED
public static final APILifeCycleState CREATED
-
DEPRECATED
public static final APILifeCycleState DEPRECATED
-
BLOCKED
public static final APILifeCycleState BLOCKED
-
RETIRED
public static final APILifeCycleState RETIRED
-
PROTOTYPED
public static final APILifeCycleState PROTOTYPED
-
PROMOTED
public static final APILifeCycleState PROMOTED
-
PUBLISHED_JAG
public static final APILifeCycleState PUBLISHED_JAG
-
CREATED_JAG
public static final APILifeCycleState CREATED_JAG
-
DEPRECATED_JAG
public static final APILifeCycleState DEPRECATED_JAG
-
BLOCKED_JAG
public static final APILifeCycleState BLOCKED_JAG
-
RETIRED_JAG
public static final APILifeCycleState RETIRED_JAG
-
PROTOTYPED_JAG
public static final APILifeCycleState PROTOTYPED_JAG
-
-
Method Detail
-
values
public static APILifeCycleState[] 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 (APILifeCycleState c : APILifeCycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static APILifeCycleState 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
-
getState
public String getState()
-
-