public static enum TodoResponse.StatusEnum extends Enum<TodoResponse.StatusEnum>
| Modifier and Type | Method and Description |
|---|---|
static TodoResponse.StatusEnum |
fromValue(String text) |
String |
toString() |
static TodoResponse.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TodoResponse.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TodoResponse.StatusEnum OK
public static final TodoResponse.StatusEnum ERROR
public static TodoResponse.StatusEnum[] values()
for (TodoResponse.StatusEnum c : TodoResponse.StatusEnum.values()) System.out.println(c);
public static TodoResponse.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 toString()
toString in class Enum<TodoResponse.StatusEnum>public static TodoResponse.StatusEnum fromValue(String text)
Copyright © 2019 LeanIX GmbH. All rights reserved.