Enum CalculateRuleForSinceTagName
- java.lang.Object
-
- java.lang.Enum<CalculateRuleForSinceTagName>
-
- com.github.qwazer.mavenplugins.gitlog.CalculateRuleForSinceTagName
-
- All Implemented Interfaces:
Serializable,Comparable<CalculateRuleForSinceTagName>
public enum CalculateRuleForSinceTagName extends Enum<CalculateRuleForSinceTagName>
Calculate rule for since tag name- Since:
- Date: 04.05.2015
- Author:
- ar
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CURRENT_MAJOR_VERSIONCURRENT_MINOR_VERSIONLATEST_RELEASE_VERSIONNO_RULE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CalculateRuleForSinceTagNamevalueOf(String name)Returns the enum constant of this type with the specified name.static CalculateRuleForSinceTagName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_RULE
public static final CalculateRuleForSinceTagName NO_RULE
-
CURRENT_MAJOR_VERSION
public static final CalculateRuleForSinceTagName CURRENT_MAJOR_VERSION
-
CURRENT_MINOR_VERSION
public static final CalculateRuleForSinceTagName CURRENT_MINOR_VERSION
-
LATEST_RELEASE_VERSION
public static final CalculateRuleForSinceTagName LATEST_RELEASE_VERSION
-
-
Method Detail
-
values
public static CalculateRuleForSinceTagName[] 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 (CalculateRuleForSinceTagName c : CalculateRuleForSinceTagName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CalculateRuleForSinceTagName 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
-
-