public enum APIStatus extends Enum<APIStatus>
| Enum Constant and Description |
|---|
APPROVED |
BLOCKED |
CREATED |
DEPRECATED |
INREVIEW |
PUBLISHED |
REJECTED |
RETIRED |
UNPUBLISHED |
| Modifier and Type | Method and Description |
|---|---|
String |
getStatus() |
static APIStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIStatus CREATED
public static final APIStatus PUBLISHED
public static final APIStatus DEPRECATED
public static final APIStatus RETIRED
public static final APIStatus BLOCKED
public static final APIStatus INREVIEW
public static final APIStatus REJECTED
public static final APIStatus APPROVED
public static final APIStatus UNPUBLISHED
public static APIStatus[] values()
for (APIStatus c : APIStatus.values()) System.out.println(c);
public static APIStatus 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 getStatus()
Copyright © 2017 WSO2. All rights reserved.