public static enum DataspaceSet.DataspaceType extends Enum<DataspaceSet.DataspaceType>
Enum Constant and Description |
---|
ALL
|
BRANCH
A non-reserved branch, including
Repository.REFERENCE . |
SNAPSHOT
A snapshot, excluding any snapshot under a built-in branch.
|
Modifier and Type | Method and Description |
---|---|
String |
format()
Returns the code associated with this type.
|
UserMessage |
getLabel()
Returns the type label.
|
static DataspaceSet.DataspaceType |
parseType(String aValue)
Parses a string value, and returns the associated
DataspaceSet.DataspaceType . |
static DataspaceSet.DataspaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataspaceSet.DataspaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataspaceSet.DataspaceType ALL
public static final DataspaceSet.DataspaceType BRANCH
Repository.REFERENCE
.public static final DataspaceSet.DataspaceType SNAPSHOT
public static DataspaceSet.DataspaceType[] values()
for (DataspaceSet.DataspaceType c : DataspaceSet.DataspaceType.values()) System.out.println(c);
public static DataspaceSet.DataspaceType 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 DataspaceSet.DataspaceType parseType(String aValue)
DataspaceSet.DataspaceType
.aValue
- The literal typepublic UserMessage getLabel()
public String format()