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 SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionAn event fired for an error condition.An event fired for informational purposes only.A containerrefreshoperation has completedA containerstart levelchange 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 SummaryModifier 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- 
REFRESHA containerrefreshoperation has completed
- 
START_LEVELA containerstart levelchange has completed.
- 
STARTEDThe container has been started.
- 
STOPPEDThis event is returned bySystemModule.waitForStop(long)to indicate that the container has stopped.
- 
STOPPED_UPDATEThis event is returned bySystemModule.waitForStop(long)to indicate that the container has stopped because of an update operation.
- 
STOPPED_REFRESHThis event is returned bySystemModule.waitForStop(long)to indicate that the container has stopped because of an refresh operation.
- 
STOPPED_TIMEOUTThis event is returned bySystemModule.waitForStop(long)to indicate that the wait operation has timed out..
- 
ERRORAn event fired for an error condition.
- 
WARNINGAn event fired for a warning condition.
- 
INFOAn event fired for informational purposes only.
 
- 
- 
Method Details- 
valuesReturns 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
 
- 
valueOfReturns 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 name
- NullPointerException- if the argument is null
 
 
-