public enum CvsRepositoryLocationType extends Enum<CvsRepositoryLocationType> implements Serializable
Modifier and Type | Method and Description |
---|---|
String |
getName() |
static CvsRepositoryLocationType |
getType(String value) |
String |
toString() |
static CvsRepositoryLocationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CvsRepositoryLocationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CvsRepositoryLocationType HEAD
public static final CvsRepositoryLocationType TAG
public static final CvsRepositoryLocationType BRANCH
public static CvsRepositoryLocationType[] values()
for (CvsRepositoryLocationType c : CvsRepositoryLocationType.values()) System.out.println(c);
public static CvsRepositoryLocationType 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 String toString()
toString
in class Enum<CvsRepositoryLocationType>
public String getName()
public static CvsRepositoryLocationType getType(String value)
Copyright © 2016–2022. All rights reserved.