com.ibm.ws.classloading
Enum ApiType
- java.lang.Object
java.lang.Enum<ApiType>
com.ibm.ws.classloading.ApiType
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<ApiType>
- public enum ApiType
- extends java.lang.Enum<ApiType>
Enum Constant Summary
Enum Constant and Description |
---|
API
|
IBMAPI
|
SPEC
|
THIRDPARTY
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
createApiTypeSet(java.lang.String... apiTypes)
Convert one or more comma-and-space-delimited api type strings into a single set of types
|
|
fromString(java.lang.String value)
|
|
toString()
|
|
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
|
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail
SPEC
- public static final ApiType SPEC
IBMAPI
- public static final ApiType IBMAPI
API
- public static final ApiType API
THIRDPARTY
- public static final ApiType THIRDPARTY
Method Detail
values
- public static ApiType[] 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:
Returns:
an array containing the constants of this enum type, in
the order they are declared
valueOf
- public static ApiType 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 fromString
- public static ApiType fromString( java.lang.String value)
createApiTypeSet
- public static java.util.EnumSet<ApiType> createApiTypeSet( java.lang.String... apiTypes)
Convert one or more comma-and-space-delimited api type strings into a single set of types
toString
- public java.lang.String toString( )
Overrides:
toString
in class java.lang.Enum<ApiType>