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