|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<IPreset.Type>
org.eclipse.wst.common.project.facet.core.IPreset.Type
public static enum IPreset.Type
The enumberation of preset types.
Enum Constant Summary | |
---|---|
DYNAMIC
Dynamic presets are created by registering a factory in the presets
extension point and are not fully specified until they are resolved within the context
of use. |
|
STATIC
Static presets are created using the presets extension point and are fully
specified in the extension point. |
|
USER_DEFINED
User presets are created using the ProjectFacetsManager.definePreset()
methods and are stored in the workspace. |
Method Summary | |
---|---|
static IPreset.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IPreset.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final IPreset.Type STATIC
presets
extension point and are fully
specified in the extension point.
public static final IPreset.Type DYNAMIC
presets
extension point and are not fully specified until they are resolved within the context
of use. To resolve a dynamic preset, cast the preset object to IDynamicPreset
and
then use the IDynamicPreset.resolve(java.util.Map)
method.
public static final IPreset.Type USER_DEFINED
ProjectFacetsManager.definePreset()
methods and are stored in the workspace.
Method Detail |
---|
public static final IPreset.Type[] values()
for(IPreset.Type c : IPreset.Type.values()) System.out.println(c);
public static IPreset.Type valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
|
Faceted Project Framework Version 1.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |