org.jvnet.hk2.osgiadapter
Enum BundleEventType

java.lang.Object
  extended by java.lang.Enum<BundleEventType>
      extended by org.jvnet.hk2.osgiadapter.BundleEventType
All Implemented Interfaces:
Serializable, Comparable<BundleEventType>

public enum BundleEventType
extends Enum<BundleEventType>

An enum for constants defined in BundleEvent

Author:
Sanjeeb.Sahoo@Sun.COM

Enum Constant Summary
INSTALLED
           
LAZY_ACTIVATION
           
RESOLVED
           
STARTED
           
STARTING
           
STOPPED
           
STOPPING
           
UNINSTALLED
           
UNKNOWN_EVENT
           
UNRESOLVED
           
UPDATED
           
 
Method Summary
static BundleEventType valueOf(int i)
           
static BundleEventType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BundleEventType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTALLED

public static final BundleEventType INSTALLED

STARTED

public static final BundleEventType STARTED

STOPPED

public static final BundleEventType STOPPED

UPDATED

public static final BundleEventType UPDATED

UNINSTALLED

public static final BundleEventType UNINSTALLED

RESOLVED

public static final BundleEventType RESOLVED

UNRESOLVED

public static final BundleEventType UNRESOLVED

STARTING

public static final BundleEventType STARTING

STOPPING

public static final BundleEventType STOPPING

LAZY_ACTIVATION

public static final BundleEventType LAZY_ACTIVATION

UNKNOWN_EVENT

public static final BundleEventType UNKNOWN_EVENT
Method Detail

values

public static BundleEventType[] 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 (BundleEventType c : BundleEventType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BundleEventType 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 name
NullPointerException - if the argument is null

valueOf

public static BundleEventType valueOf(int i)


Copyright © 2013 Oracle Corporation. All Rights Reserved.