public static enum IStreamSummary.Type extends java.lang.Enum<IStreamSummary.Type>
Defines the role of a stream: A 'mainline' may not have a parent. A 'virtual' stream is not a stream but an alternate view of its parent stream. The 'development' and 'release' streams have controlled flow. Can be changed. A 'task' stream is a lightweight short-lived stream that only promotes modified content to the repository, branched data is stored in shadow tables that are removed when the task stream is deleted or unloaded.
Enum Constant and Description |
---|
DEVELOPMENT |
MAINLINE |
RELEASE |
TASK |
UNKNOWN |
VIRTUAL |
Modifier and Type | Method and Description |
---|---|
static IStreamSummary.Type |
fromString(java.lang.String str)
Return a suitable Stream type as inferred from the passed-in
string, which is assumed to be the string form of a Stream type.
|
java.lang.String |
toString() |
static IStreamSummary.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IStreamSummary.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IStreamSummary.Type MAINLINE
public static final IStreamSummary.Type RELEASE
public static final IStreamSummary.Type DEVELOPMENT
public static final IStreamSummary.Type VIRTUAL
public static final IStreamSummary.Type TASK
public static final IStreamSummary.Type UNKNOWN
public static IStreamSummary.Type[] values()
for (IStreamSummary.Type c : IStreamSummary.Type.values()) System.out.println(c);
public static IStreamSummary.Type 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 static IStreamSummary.Type fromString(java.lang.String str)
str
- strpublic java.lang.String toString()
toString
in class java.lang.Enum<IStreamSummary.Type>