public static enum Uri.UriType extends java.lang.Enum<Uri.UriType>
| Enum Constant and Description |
|---|
PROJECT
Uri used to refer to a project within a cluster.
|
SERVER
Uri used to refer to a cluster.
|
STREAM
Uri used to refer to a stream within a project.
|
WORKSPACE
Uri used to refer to a workspace within a cluster.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
asString(Uri uri) |
static Uri.UriType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Uri.UriType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Uri.UriType SERVER
esp[s]://<server-spec>.
Valid components are server name or the manager list.public static final Uri.UriType WORKSPACE
esp[s]://<server-spec>/<workspace>.
Valid components are, server name/manager list and workspace name.public static final Uri.UriType PROJECT
esp[s]://<server-spec>/<workspace>/<project>.
Valid components are, server name/manager list, workspace name and project name.public static final Uri.UriType STREAM
esp[s]://<server-spec>/<workspace>/<project>/<stream>.
Valid components are, server name/manager list, workspace name, project name and stream name.public static Uri.UriType[] values()
for (Uri.UriType c : Uri.UriType.values()) System.out.println(c);
public static Uri.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 java.lang.String asString(Uri uri)