Package org.eclipse.osgi.container
Enum Class ModuleContainerAdaptor.ContainerEvent
java.lang.Object
java.lang.Enum<ModuleContainerAdaptor.ContainerEvent>
org.eclipse.osgi.container.ModuleContainerAdaptor.ContainerEvent
- All Implemented Interfaces:
Serializable
,Comparable<ModuleContainerAdaptor.ContainerEvent>
,Constable
- Enclosing class:
- ModuleContainerAdaptor
public static enum ModuleContainerAdaptor.ContainerEvent
extends Enum<ModuleContainerAdaptor.ContainerEvent>
Event types that may be
published
for a container.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn event fired for an error condition.An event fired for informational purposes only.A containerrefresh
operation has completedA containerstart level
change has completed.The container has been started.This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped.This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped because of an refresh operation.This event is returned bySystemModule.waitForStop(long)
to indicate that the wait operation has timed out..This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped because of an update operation.An event fired for a warning condition. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REFRESH
A containerrefresh
operation has completed -
START_LEVEL
A containerstart level
change has completed. -
STARTED
The container has been started. -
STOPPED
This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped. -
STOPPED_UPDATE
This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped because of an update operation. -
STOPPED_REFRESH
This event is returned bySystemModule.waitForStop(long)
to indicate that the container has stopped because of an refresh operation. -
STOPPED_TIMEOUT
This event is returned bySystemModule.waitForStop(long)
to indicate that the wait operation has timed out.. -
ERROR
An event fired for an error condition. -
WARNING
An event fired for a warning condition. -
INFO
An event fired for informational purposes only.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-