Package org.apache.karaf.features
Enum DeploymentEvent
- java.lang.Object
-
- java.lang.Enum<DeploymentEvent>
-
- org.apache.karaf.features.DeploymentEvent
-
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentEvent>
public enum DeploymentEvent extends Enum<DeploymentEvent>
Enumeration of deployment events. Each deployment is an operation potentially involving multiple features and its bundles. Deployments cannot overlap.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUNDLES_INSTALLED
Bundle install/uninstall operations within this deployment have completed.BUNDLES_RESOLVED
Bundle resolution has completed, but the bundles have not yet been started.DEPLOYMENT_FINISHED
The deployment has completed.DEPLOYMENT_STARTED
A new deployment operation has started.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeploymentEvent
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeploymentEvent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEPLOYMENT_STARTED
public static final DeploymentEvent DEPLOYMENT_STARTED
A new deployment operation has started.
-
BUNDLES_INSTALLED
public static final DeploymentEvent BUNDLES_INSTALLED
Bundle install/uninstall operations within this deployment have completed.
-
BUNDLES_RESOLVED
public static final DeploymentEvent BUNDLES_RESOLVED
Bundle resolution has completed, but the bundles have not yet been started.
-
DEPLOYMENT_FINISHED
public static final DeploymentEvent DEPLOYMENT_FINISHED
The deployment has completed.
-
-
Method Detail
-
values
public static DeploymentEvent[] 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 (DeploymentEvent c : DeploymentEvent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentEvent 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
-
-