Enum Bundle.Status
- java.lang.Object
-
- java.lang.Enum<Bundle.Status>
-
- org.apache.sling.testing.clients.osgi.Bundle.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<Bundle.Status>
- Enclosing class:
- Bundle
public static enum Bundle.Status extends Enum<Bundle.Status>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Bundle.Status
value(String o)
static Bundle.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Bundle.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTIVE
public static final Bundle.Status ACTIVE
-
FRAGMENT
public static final Bundle.Status FRAGMENT
-
RESOLVED
public static final Bundle.Status RESOLVED
-
INSTALLED
public static final Bundle.Status INSTALLED
-
-
Method Detail
-
values
public static Bundle.Status[] 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 (Bundle.Status c : Bundle.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Bundle.Status 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
-
value
public static Bundle.Status value(String o)
-
toString
public String toString()
- Overrides:
toString
in classEnum<Bundle.Status>
-
-