public static enum Versions.Component extends java.lang.Enum<Versions.Component>
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Object |
get(org.osgi.framework.Version version) |
java.lang.String |
toString() |
static Versions.Component |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Versions.Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Versions.Component MAJOR
public static final Versions.Component MINOR
public static final Versions.Component MICRO
public static final Versions.Component QUALIFIER
public static Versions.Component[] values()
for (Versions.Component c : Versions.Component.values()) System.out.println(c);
public static Versions.Component valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.Object get(org.osgi.framework.Version version)
public final java.lang.String toString()
toString
in class java.lang.Enum<Versions.Component>