org.apache.xbean.osgi.bundle.util
Enum DiscoveryRange
java.lang.Object
java.lang.Enum<DiscoveryRange>
org.apache.xbean.osgi.bundle.util.DiscoveryRange
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DiscoveryRange>
public enum DiscoveryRange
- extends java.lang.Enum<DiscoveryRange>
- Version:
- $Rev: 937957 $ $Date: 2010-04-26 10:00:08 +0200 (Mon, 26 Apr 2010) $
Method Summary |
static DiscoveryRange |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static DiscoveryRange[] |
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 |
REQUIRED_BUNDLES
public static final DiscoveryRange REQUIRED_BUNDLES
IMPORT_PACKAGES
public static final DiscoveryRange IMPORT_PACKAGES
BUNDLE_CLASSPATH
public static final DiscoveryRange BUNDLE_CLASSPATH
FRAGMENT_BUNDLES
public static final DiscoveryRange FRAGMENT_BUNDLES
values
public static DiscoveryRange[] 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 (DiscoveryRange c : DiscoveryRange.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DiscoveryRange valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
Copyright © 2005-2011. All Rights Reserved.