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