public enum APILifeCycleAction extends Enum<APILifeCycleAction>
| Enum Constant and Description |
|---|
BLOCK |
DEMOTE_TO_CREATE |
DEPLOY_AS_PROTOTYPE |
DEPRECATE |
PROMOTE |
PUBLISH |
RE_PUBLISH |
RETIRE |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction() |
static APILifeCycleAction |
valueOf(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.
|
public static final APILifeCycleAction PUBLISH
public static final APILifeCycleAction DEPLOY_AS_PROTOTYPE
public static final APILifeCycleAction BLOCK
public static final APILifeCycleAction DEPRECATE
public static final APILifeCycleAction RETIRE
public static final APILifeCycleAction RE_PUBLISH
public static final APILifeCycleAction PROMOTE
public static final APILifeCycleAction DEMOTE_TO_CREATE
public static APILifeCycleAction[] values()
for (APILifeCycleAction c : APILifeCycleAction.values()) System.out.println(c);
public static APILifeCycleAction 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 getAction()
Copyright © 2020 WSO2 Inc. All rights reserved.