Enum VersionStream
- java.lang.Object
-
- java.lang.Enum<VersionStream>
-
- org.jboss.set.mavendependencyupdater.VersionStream
-
- All Implemented Interfaces:
Serializable,Comparable<VersionStream>
public enum VersionStream extends Enum<VersionStream>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionStreamhigher()Integerlevel()static VersionStreamvalueOf(String name)Returns the enum constant of this type with the specified name.static VersionStream[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final VersionStream ANY
-
MAJOR
public static final VersionStream MAJOR
-
MINOR
public static final VersionStream MINOR
-
MICRO
public static final VersionStream MICRO
-
QUALIFIER
public static final VersionStream QUALIFIER
-
-
Method Detail
-
values
public static VersionStream[] 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 (VersionStream c : VersionStream.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionStream 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
-
level
public Integer level()
-
higher
public VersionStream higher()
-
-