public static enum RepositoryData.Type extends java.lang.Enum<RepositoryData.Type>
Modifier and Type | Class and Description |
---|---|
static interface |
RepositoryData.Type.Visitor<T> |
Enum Constant and Description |
---|
CLEARCASE |
CVS |
GIT |
HG |
PERFORCE |
SUBVERSION |
Modifier and Type | Field and Description |
---|---|
java.lang.String |
name |
Modifier and Type | Method and Description |
---|---|
static RepositoryData.Type |
fromName(java.lang.String name) |
static RepositoryData.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
abstract <T> T |
visit(RepositoryData.Type.Visitor<T> visitor) |
public static final RepositoryData.Type CVS
public static final RepositoryData.Type GIT
public static final RepositoryData.Type PERFORCE
public static final RepositoryData.Type SUBVERSION
public static final RepositoryData.Type CLEARCASE
public static final RepositoryData.Type HG
public static RepositoryData.Type[] values()
for (RepositoryData.Type c : RepositoryData.Type.values()) System.out.println(c);
public static RepositoryData.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 RepositoryData.Type fromName(java.lang.String name)
public abstract <T> T visit(RepositoryData.Type.Visitor<T> visitor)