public enum ApiType extends java.lang.Enum<ApiType>
Enum Constant and Description |
---|
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.
|
STABLE
Stable APIs -- These are third party APIs we have enough confidence in to expose by default, but are not fully spec APIs
|
THIRDPARTY
Proprietary APIs from third-party libraries which can be used in conjunction with features, e.g.
|
Modifier and Type | Method and 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 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.
|
public static final ApiType SPEC
public static final ApiType IBMAPI
public static final ApiType API
public static final ApiType THIRDPARTY
public static final ApiType STABLE
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 namejava.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>