public enum AckCode extends Enum<AckCode>
| Enum Constant and Description |
|---|
CUSTOMCODE |
FAILURE |
FAILUREWITHWARNING |
SUCCESS |
SUCCESSWITHWARNING |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static AckCode |
fromValue(String v) |
String |
getValue() |
static AckCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AckCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AckCode SUCCESS
public static final AckCode FAILURE
public static final AckCode WARNING
public static final AckCode SUCCESSWITHWARNING
public static final AckCode FAILUREWITHWARNING
public static final AckCode CUSTOMCODE
public static AckCode[] values()
for (AckCode c : AckCode.values()) System.out.println(c);
public static AckCode 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()
Copyright © 2013. All Rights Reserved.