Package org.apache.karaf.features
Enum FeatureEvent.EventType
- java.lang.Object
-
- java.lang.Enum<FeatureEvent.EventType>
-
- org.apache.karaf.features.FeatureEvent.EventType
-
- All Implemented Interfaces:
Serializable
,Comparable<FeatureEvent.EventType>
- Enclosing class:
- FeatureEvent
public static enum FeatureEvent.EventType extends Enum<FeatureEvent.EventType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FeatureInstalled
FeatureUninstalled
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FeatureEvent.EventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FeatureEvent.EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FeatureInstalled
public static final FeatureEvent.EventType FeatureInstalled
-
FeatureUninstalled
public static final FeatureEvent.EventType FeatureUninstalled
-
-
Method Detail
-
values
public static FeatureEvent.EventType[] 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 (FeatureEvent.EventType c : FeatureEvent.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FeatureEvent.EventType 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
-
-