Enum Component.Status
- java.lang.Object
-
- java.lang.Enum<Component.Status>
-
- org.apache.sling.testing.clients.osgi.Component.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Component.Status>
- Enclosing class:
- Component
public static enum Component.Status extends java.lang.Enum<Component.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVEFAILED_ACTIVATIONSATISFIEDUNKNOWNUNSATISFIED_CONFIGURATIONUNSATISFIED_REFERENCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static Component.Statusvalue(java.lang.String o)static Component.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Component.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 Component.Status ACTIVE
-
SATISFIED
public static final Component.Status SATISFIED
-
UNSATISFIED_CONFIGURATION
public static final Component.Status UNSATISFIED_CONFIGURATION
-
UNSATISFIED_REFERENCE
public static final Component.Status UNSATISFIED_REFERENCE
-
FAILED_ACTIVATION
public static final Component.Status FAILED_ACTIVATION
-
UNKNOWN
public static final Component.Status UNKNOWN
-
-
Method Detail
-
values
public static Component.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 (Component.Status c : Component.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 Component.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
value
public static Component.Status value(java.lang.String o)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<Component.Status>
-
-