Package com.composum.sling.nodes.tools
Enum OsgiBundleModel.State
- java.lang.Object
-
- java.lang.Enum<OsgiBundleModel.State>
-
- com.composum.sling.nodes.tools.OsgiBundleModel.State
-
- All Implemented Interfaces:
Serializable
,Comparable<OsgiBundleModel.State>
- Enclosing class:
- OsgiBundleModel
public static enum OsgiBundleModel.State extends Enum<OsgiBundleModel.State>
-
-
Field Summary
Fields Modifier and Type Field Description int
value
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OsgiBundleModel.State
valueOf(int value)
Returns the enum constant of this type with the specified name.static OsgiBundleModel.State
valueOf(String name)
Returns the enum constant of this type with the specified name.static OsgiBundleModel.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
uninstalled
public static final OsgiBundleModel.State uninstalled
-
installed
public static final OsgiBundleModel.State installed
-
resolved
public static final OsgiBundleModel.State resolved
-
starting
public static final OsgiBundleModel.State starting
-
stopping
public static final OsgiBundleModel.State stopping
-
active
public static final OsgiBundleModel.State active
-
fragment
public static final OsgiBundleModel.State fragment
-
-
Method Detail
-
values
public static OsgiBundleModel.State[] 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 (OsgiBundleModel.State c : OsgiBundleModel.State.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OsgiBundleModel.State 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
-
valueOf
public static OsgiBundleModel.State valueOf(int value)
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:
value
- 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
-
-