public enum StatusType extends Enum<StatusType>
Java class for StatusType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="StatusType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="OK"/>
<enumeration value="Not Found"/>
<enumeration value="Warning"/>
<enumeration value="No Access"/>
<enumeration value="Service Stopped"/>
<enumeration value="Error"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ERROR |
NO_ACCESS |
NOT_FOUND |
OK |
SERVICE_STOPPED |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static StatusType |
fromValue(String v) |
String |
value() |
static StatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusType OK
public static final StatusType NOT_FOUND
public static final StatusType WARNING
public static final StatusType NO_ACCESS
public static final StatusType SERVICE_STOPPED
public static final StatusType ERROR
public static StatusType[] values()
for (StatusType c : StatusType.values()) System.out.println(c);
public static StatusType 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 value()
public static StatusType fromValue(String v)
Copyright © 2019 Bedework. All rights reserved.