public enum APILifeCycleState extends Enum<APILifeCycleState>
| Enum Constant and Description |
|---|
BLOCKED |
CREATED |
DEPRECATED |
PROMOTE |
PROMOTED |
PROTOTYPED |
PUBLISHED |
RETIRED |
| Modifier and Type | Method and Description |
|---|---|
String |
getState() |
static APILifeCycleState |
valueOf(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.
|
public static final APILifeCycleState PUBLISHED
public static final APILifeCycleState CREATED
public static final APILifeCycleState DEPRECATED
public static final APILifeCycleState BLOCKED
public static final APILifeCycleState RETIRED
public static final APILifeCycleState PROTOTYPED
public static final APILifeCycleState PROMOTE
public static final APILifeCycleState PROMOTED
public static APILifeCycleState[] values()
for (APILifeCycleState c : APILifeCycleState.values()) System.out.println(c);
public static APILifeCycleState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getState()
Copyright © 2018 WSO2 Inc. All rights reserved.