Enum VersionUpdateNumber
- java.lang.Object
-
- java.lang.Enum<VersionUpdateNumber>
-
- io.quarkus.bootstrap.resolver.update.VersionUpdateNumber
-
- All Implemented Interfaces:
Serializable,Comparable<VersionUpdateNumber>
public enum VersionUpdateNumber extends Enum<VersionUpdateNumber>
Indicates which version number is allowed to be updated.- Author:
- Alexey Loubyansky
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()StringtoString()static VersionUpdateNumbervalueOf(String name)Returns the enum constant of this type with the specified name.static VersionUpdateNumber[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAJOR
public static final VersionUpdateNumber MAJOR
-
MINOR
public static final VersionUpdateNumber MINOR
-
MICRO
public static final VersionUpdateNumber MICRO
-
UNKNOWN
public static final VersionUpdateNumber UNKNOWN
-
-
Method Detail
-
values
public static VersionUpdateNumber[] 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 (VersionUpdateNumber c : VersionUpdateNumber.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionUpdateNumber 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
-
getName
public String getName()
-
toString
public String toString()
- Overrides:
toStringin classEnum<VersionUpdateNumber>
-
-