public static enum ProtocolStatus.Field extends java.lang.Enum<ProtocolStatus.Field>
Enum Constant and Description |
---|
ARGS |
CODE |
LAST_MODIFIED |
Modifier and Type | Method and Description |
---|---|
int |
getIndex()
Gets field's index.
|
java.lang.String |
getName()
Gets field's name.
|
java.lang.String |
toString()
Gets field's attributes to string.
|
static ProtocolStatus.Field |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolStatus.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolStatus.Field CODE
public static final ProtocolStatus.Field ARGS
public static final ProtocolStatus.Field LAST_MODIFIED
public static ProtocolStatus.Field[] values()
for (ProtocolStatus.Field c : ProtocolStatus.Field.values()) System.out.println(c);
public static ProtocolStatus.Field valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIndex()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<ProtocolStatus.Field>
Copyright © 2019 The Apache Software Foundation