public enum CCTaskRefusedArg extends Enum<CCTaskRefusedArg>
TaskRefusedArg ::= ENUMERATED { generic(0), unobtainable(1), congestion(2) }
Used as parameter type by CCErrors.taskRefused
.
Enum Constant and Description |
---|
congestion |
generic |
unobtainable |
Modifier and Type | Method and Description |
---|---|
static CCTaskRefusedArg |
fromValue(int value)
Returns the enumeration constant for a given ASN.1 encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static CCTaskRefusedArg |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CCTaskRefusedArg[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CCTaskRefusedArg generic
public static final CCTaskRefusedArg unobtainable
public static final CCTaskRefusedArg congestion
public static CCTaskRefusedArg[] values()
for (CCTaskRefusedArg c : CCTaskRefusedArg.values()) System.out.println(c);
public static CCTaskRefusedArg 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 CCTaskRefusedArg fromValue(int value)
value
- integer ASN.1 encoded valuepublic int intValue()