Enum DSVersion
- java.lang.Object
-
- java.lang.Enum<DSVersion>
-
- org.apache.felix.scr.impl.metadata.DSVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<DSVersion>
public enum DSVersion extends Enum<DSVersion>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isDS10()
boolean
isDS11()
boolean
isDS12()
boolean
isDS13()
boolean
isDS14()
static DSVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static DSVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DSnone
public static final DSVersion DSnone
-
DS10
public static final DSVersion DS10
-
DS11
public static final DSVersion DS11
-
DS11Felix
public static final DSVersion DS11Felix
-
DS12
public static final DSVersion DS12
-
DS12Felix
public static final DSVersion DS12Felix
-
DS13
public static final DSVersion DS13
-
DS14
public static final DSVersion DS14
-
-
Method Detail
-
values
public static DSVersion[] 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 (DSVersion c : DSVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DSVersion 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
-
isDS10
public boolean isDS10()
-
isDS11
public boolean isDS11()
-
isDS12
public boolean isDS12()
-
isDS13
public boolean isDS13()
-
isDS14
public boolean isDS14()
-
-