public enum StatusEnum extends Enum<StatusEnum>
| Enum Constant and Description |
|---|
ACCEPTED |
FAILED |
RUNNING |
SUCCESSFUL |
| Modifier and Type | Method and Description |
|---|---|
static StatusEnum |
fromValue(String text) |
String |
toString() |
static StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusEnum ACCEPTED
public static final StatusEnum RUNNING
public static final StatusEnum SUCCESSFUL
public static final StatusEnum FAILED
public static StatusEnum[] values()
for (StatusEnum c : StatusEnum.values()) System.out.println(c);
public static 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<StatusEnum>public static StatusEnum fromValue(String text)
Copyright © 2016–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.