public enum SAFQualityOfService extends Enum<SAFQualityOfService>
Enum Constant and Description |
---|
AT_LEAST_ONCE |
AT_MOST_ONCE |
EXACTLY_ONCE |
Modifier and Type | Method and Description |
---|---|
static SAFQualityOfService |
fromValue(String value) |
String |
toString() |
String |
value() |
static SAFQualityOfService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SAFQualityOfService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SAFQualityOfService AT_LEAST_ONCE
public static final SAFQualityOfService AT_MOST_ONCE
public static final SAFQualityOfService EXACTLY_ONCE
public static SAFQualityOfService[] values()
for (SAFQualityOfService c : SAFQualityOfService.values()) System.out.println(c);
public static SAFQualityOfService 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 static SAFQualityOfService fromValue(String value)
public String toString()
toString
in class Enum<SAFQualityOfService>
public String value()