public static enum APIProductInfoDTO.StateEnum extends Enum<APIProductInfoDTO.StateEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
APIProductInfoDTO.StateEnum.Adapter |
| Enum Constant and Description |
|---|
BLOCKED |
CREATED |
DEPRECATED |
PROTOTYPED |
PUBLISHED |
RETIRED |
| Modifier and Type | Method and Description |
|---|---|
static APIProductInfoDTO.StateEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static APIProductInfoDTO.StateEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static APIProductInfoDTO.StateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIProductInfoDTO.StateEnum CREATED
public static final APIProductInfoDTO.StateEnum PUBLISHED
public static final APIProductInfoDTO.StateEnum DEPRECATED
public static final APIProductInfoDTO.StateEnum RETIRED
public static final APIProductInfoDTO.StateEnum BLOCKED
public static final APIProductInfoDTO.StateEnum PROTOTYPED
public static APIProductInfoDTO.StateEnum[] values()
for (APIProductInfoDTO.StateEnum c : APIProductInfoDTO.StateEnum.values()) System.out.println(c);
public static APIProductInfoDTO.StateEnum 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 getValue()
public String toString()
toString in class Enum<APIProductInfoDTO.StateEnum>public static APIProductInfoDTO.StateEnum fromValue(String value)
Copyright © 2022 WSO2 Inc. All rights reserved.