Package io.vacco.oss.gitflow.schema
Enum GsBuildTarget
- java.lang.Object
-
- java.lang.Enum<GsBuildTarget>
-
- io.vacco.oss.gitflow.schema.GsBuildTarget
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GsBuildTarget>
public enum GsBuildTarget extends java.lang.Enum<GsBuildTarget>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCALMILESTONEPRE_RELEASERELEASESNAPSHOT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisMilestone()booleanisPublication()booleanisReleaseGated()booleanisSnapshot()static GsBuildTargetvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GsBuildTarget[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SNAPSHOT
public static final GsBuildTarget SNAPSHOT
-
MILESTONE
public static final GsBuildTarget MILESTONE
-
RELEASE
public static final GsBuildTarget RELEASE
-
PRE_RELEASE
public static final GsBuildTarget PRE_RELEASE
-
LOCAL
public static final GsBuildTarget LOCAL
-
-
Method Detail
-
values
public static GsBuildTarget[] 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 (GsBuildTarget c : GsBuildTarget.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GsBuildTarget 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
-
isSnapshot
public boolean isSnapshot()
-
isMilestone
public boolean isMilestone()
-
isPublication
public boolean isPublication()
-
isReleaseGated
public boolean isReleaseGated()
-
-