|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ApiType>
com.ibm.wsspi.classloading.ApiType
public enum ApiType
An Api Type is a grouping of packages that can be accessed by applications. The grouping represents a coarse-grained control structure for use with JEE. It is not needed for OSGi artefacts since they have a finer-grained control structure built in already.
Enum Constant Summary | |
---|---|
API
Proprietary APIs provided by non-IBM features. |
|
IBMAPI
Proprietary APIs provided by IBM features. |
|
SPEC
The standard APIs for any specifications supported by Liberty, e.g. |
|
THIRDPARTY
Proprietary APIs from third-party libraries which can be used in conjunction with features, e.g. |
Method Summary | |
---|---|
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 |
static ApiType |
fromString(java.lang.String value)
|
java.lang.String |
toString()
|
static ApiType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static 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 |
---|
public static final ApiType SPEC
public static final ApiType IBMAPI
public static final ApiType API
public static final ApiType THIRDPARTY
Method Detail |
---|
public static ApiType[] values()
for (ApiType c : ApiType.values()) System.out.println(c);
public static ApiType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static ApiType fromString(java.lang.String value)
public static java.util.EnumSet<ApiType> createApiTypeSet(java.lang.String... apiTypes)
public java.lang.String toString()
toString
in class java.lang.Enum<ApiType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |