Enum GitHubTagEnv
- java.lang.Object
-
- java.lang.Enum<GitHubTagEnv>
-
- com.github.kostyasha.github.integration.tag.GitHubTagEnv
-
- All Implemented Interfaces:
GitHubEnv<GitHubTagCause>
,Serializable
,Comparable<GitHubTagEnv>
public enum GitHubTagEnv extends Enum<GitHubTagEnv> implements GitHubEnv<GitHubTagCause>
- Author:
- Kanstantsin Shautsou
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAUSE_SKIP
FULL_REF
HEAD_SHA
NAME
SHORT_DESC
TITLE
URL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParam(GitHubTagCause cause, List<ParameterValue> params)
static void
getParams(GitHubTagCause cause, List<ParameterValue> params)
String
toString()
static GitHubTagEnv
valueOf(String name)
Returns the enum constant of this type with the specified name.static GitHubTagEnv[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NAME
public static final GitHubTagEnv NAME
-
SHORT_DESC
public static final GitHubTagEnv SHORT_DESC
-
TITLE
public static final GitHubTagEnv TITLE
-
URL
public static final GitHubTagEnv URL
-
HEAD_SHA
public static final GitHubTagEnv HEAD_SHA
-
FULL_REF
public static final GitHubTagEnv FULL_REF
-
CAUSE_SKIP
public static final GitHubTagEnv CAUSE_SKIP
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GitHubTagEnv[] 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 (GitHubTagEnv c : GitHubTagEnv.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GitHubTagEnv valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
addParam
public void addParam(GitHubTagCause cause, List<ParameterValue> params)
- Specified by:
addParam
in interfaceGitHubEnv<GitHubTagCause>
-
toString
public String toString()
- Overrides:
toString
in classEnum<GitHubTagEnv>
-
getParams
public static void getParams(GitHubTagCause cause, List<ParameterValue> params)
-
-