Enum VcsScheme
- java.lang.Object
-
- java.lang.Enum<VcsScheme>
-
- com.github.blindpirate.gogradle.vcs.VcsScheme
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringbuildUrl(java.lang.String packagePath)java.lang.StringgetScheme()static VcsSchemevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static VcsScheme[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GIT
public static final VcsScheme GIT
-
HTTPS
public static final VcsScheme HTTPS
-
HTTP
public static final VcsScheme HTTP
-
GIT_SSH
public static final VcsScheme GIT_SSH
-
SSH
public static final VcsScheme SSH
-
BZR
public static final VcsScheme BZR
-
BZR_SSH
public static final VcsScheme BZR_SSH
-
SVN
public static final VcsScheme SVN
-
SVN_SSH
public static final VcsScheme SVN_SSH
-
-
Method Detail
-
values
public static VcsScheme[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VcsScheme c : VcsScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VcsScheme valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getScheme
public java.lang.String getScheme()
-
buildUrl
public java.lang.String buildUrl(java.lang.String packagePath)
-
-