com.ibm.ws.classloading

Enum ApiType

  1. java.lang.Object
  2. extended byjava.lang.Enum<ApiType>
  3. extended bycom.ibm.ws.classloading.ApiType
All implemented interfaces:
java.io.Serializable, java.lang.Comparable<ApiType>

  1. public enum ApiType
  2. extends java.lang.Enum<ApiType>

Enum Constant Summary

Enum Constant and Description
API
IBMAPI
SPEC
THIRDPARTY

Method Summary

Modifier and Type Method and Description
  1. static
  2. 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
  1. static
  2. ApiType
fromString(java.lang.String value)
  1. java.lang.String
toString()
  1. static
  2. ApiType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
  1. static
  2. ApiType[]
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

  1. public static final ApiType SPEC

IBMAPI

  1. public static final ApiType IBMAPI

API

  1. public static final ApiType API

THIRDPARTY

  1. public static final ApiType THIRDPARTY

Method Detail

values

  1. 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:
for (ApiType c : ApiType.values())   
System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

  1. 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

  1. public static ApiType fromString( java.lang.String value)

createApiTypeSet

  1. 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

  1. public java.lang.String toString( )
Overrides:
toString in class java.lang.Enum<ApiType>