public enum URIType extends java.lang.Enum<URIType> implements IntegerEnum
Enum Constant and Description |
---|
SINK
The URI is a consumer.
|
SRC
The URI is a producer.
|
UNKNOWN
The URI direction is unknown
|
Modifier and Type | Method and Description |
---|---|
int |
intValue()
Gets the integer value of the enum.
|
static URIType |
valueOf(int uriType)
Returns the enum constant of this type with the specified integer value.
|
static URIType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static URIType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final URIType UNKNOWN
public static final URIType SINK
public static final URIType SRC
public static URIType[] values()
for (URIType c : URIType.values()) System.out.println(c);
public static URIType 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 intValue()
intValue
in interface IntegerEnum
public static final URIType valueOf(int uriType)
uriType
- integer value.java.lang.IllegalArgumentException
- if the enum type has no constant with the specified value.