Package com.ibm.wsspi.classloading
Enum ApiType
- java.lang.Object
- 
- java.lang.Enum<ApiType>
- 
- com.ibm.wsspi.classloading.ApiType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ApiType>
 
 public enum ApiType extends java.lang.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 SummaryEnum Constants Enum Constant Description APIProprietary APIs provided by non-IBM features.IBMAPIProprietary APIs provided by IBM features.SPECThe standard APIs for any specifications supported by Liberty, e.g.STABLEStable APIs -- These are third party APIs we have enough confidence in to expose by default, but are not fully spec APIsTHIRDPARTYProprietary APIs from third-party libraries which can be used in conjunction with features, e.g.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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 typesstatic ApiTypefromString(java.lang.String value)java.lang.StringtoString()static ApiTypevalueOf(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.
 
- 
- 
- 
Enum Constant Detail- 
SPECpublic static final ApiType SPEC The standard APIs for any specifications supported by Liberty, e.g. javax.servlet.http
 - 
IBMAPIpublic static final ApiType IBMAPI Proprietary APIs provided by IBM features.
 - 
APIpublic static final ApiType API Proprietary APIs provided by non-IBM features.
 - 
THIRDPARTYpublic static final ApiType THIRDPARTY Proprietary APIs from third-party libraries which can be used in conjunction with features, e.g. the Wink APIs for use with Liberty's JAX-RS support.
 - 
STABLEpublic static final ApiType STABLE Stable APIs -- These are third party APIs we have enough confidence in to expose by default, but are not fully spec APIs
 
- 
 - 
Method Detail- 
valuespublic 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
 
 - 
valueOfpublic 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
 
 - 
fromStringpublic static ApiType fromString(java.lang.String value) 
 - 
createApiTypeSetpublic 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
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Enum<ApiType>
 
 
- 
 
-