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