| Modifier and Type | Method and Description |
|---|---|
static NeedState |
fromURI(java.net.URI uri)
Tries to match the given URI against all enum values.
|
java.net.URI |
getURI() |
static NeedState |
parseString(java.lang.String fragment)
Tries to match the given string against all enum values.
|
static NeedState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NeedState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NeedState INACTIVE
public static final NeedState ACTIVE
public static NeedState[] values()
for (NeedState c : NeedState.values()) System.out.println(c);
public static NeedState 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 java.net.URI getURI()
public static NeedState parseString(java.lang.String fragment)
fragment - string to matchpublic static NeedState fromURI(java.net.URI uri)
uri - URI to matchCopyright © 2018. All Rights Reserved.