| Modifier and Type | Method and Description |
|---|---|
VcsAccessor |
getAccessor() |
java.lang.String |
getName() |
NotationConverter |
getNotationConverter() |
java.util.List<VcsScheme> |
getSchemes() |
<T> T |
getService(java.lang.Class<T> serviceClass) |
java.lang.String |
getSuffix() |
static java.util.Optional<VcsType> |
of(java.lang.String name) |
static VcsType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VcsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VcsType GIT
public static final VcsType MERCURIAL
public static final VcsType SVN
public static final VcsType BAZAAR
public static VcsType[] values()
for (VcsType c : VcsType.values()) System.out.println(c);
public static VcsType 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 getName()
public java.lang.String getSuffix()
public java.util.List<VcsScheme> getSchemes()
public static java.util.Optional<VcsType> of(java.lang.String name)
public <T> T getService(java.lang.Class<T> serviceClass)
public VcsAccessor getAccessor()
public NotationConverter getNotationConverter()