Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core.events
Enum IFacetedProjectEvent.Type

java.lang.Object
  extended by java.lang.Enum<IFacetedProjectEvent.Type>
      extended by org.eclipse.wst.common.project.facet.core.events.IFacetedProjectEvent.Type
All Implemented Interfaces:
Serializable, Comparable<IFacetedProjectEvent.Type>
Enclosing interface:
IFacetedProjectEvent

public static enum IFacetedProjectEvent.Type
extends Enum<IFacetedProjectEvent.Type>


Enum Constant Summary
AVAILABLE_FACETS_CHANGED
           
AVAILABLE_PRESETS_CHANGED
           
AVAILABLE_RUNTIMES_CHANGED
           
FIXED_FACETS_CHANGED
          Type of the event that gets triggered when project's fixed facets are changed.
POST_INSTALL
          Type of the event that gets triggered right after a facet is installed.
POST_UNINSTALL
          Type of the event that gets triggered right after a facet is uninstalled.
POST_VERSION_CHANGE
          Type of the event that gets triggered right after a facet version is changed.
PRE_INSTALL
          Type of the event that gets triggered right before a facet is installed.
PRE_UNINSTALL
          Type of the event that gets triggered right before a facet is uninstalled.
PRE_VERSION_CHANGE
          Type of the event that gets triggered right before a facet version is changed.
PRIMARY_RUNTIME_CHANGED
          Type of the event that gets triggered when the primary targeted runtime of the project is changed.
PROJECT_FACETS_CHANGED
           
PROJECT_MODIFIED
          Type of the event that gets triggered when faceted project metadata is modified in any way.
PROJECT_NAME_CHANGED
           
SELECTED_PRESET_CHANGED
           
TARGETABLE_RUNTIMES_CHANGED
           
TARGETED_RUNTIMES_CHANGED
          Type of the event that gets triggered when the set of runtimes that the project targets is changed.
VALIDATION_PROBLEMS_CHANGED
           
 
Method Summary
static IFacetedProjectEvent.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IFacetedProjectEvent.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

PROJECT_MODIFIED

public static final IFacetedProjectEvent.Type PROJECT_MODIFIED
Type of the event that gets triggered when faceted project metadata is modified in any way. No detailed information about the change is provided. Note that while listening for PROJECT_MODIFIED events is guaranteed to catch all other events, the inverse is not true. Listing on all the other events is not guaranteed to catch all PROJECT_MODIFIED events. This is because there are circumstances when the system does not have the details about the type of the change (such as when the faceted project metadata file is modified on disk).


PRE_INSTALL

public static final IFacetedProjectEvent.Type PRE_INSTALL
Type of the event that gets triggered right before a facet is installed. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


POST_INSTALL

public static final IFacetedProjectEvent.Type POST_INSTALL
Type of the event that gets triggered right after a facet is installed. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


PRE_UNINSTALL

public static final IFacetedProjectEvent.Type PRE_UNINSTALL
Type of the event that gets triggered right before a facet is uninstalled. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


POST_UNINSTALL

public static final IFacetedProjectEvent.Type POST_UNINSTALL
Type of the event that gets triggered right after a facet is uninstalled. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


PRE_VERSION_CHANGE

public static final IFacetedProjectEvent.Type PRE_VERSION_CHANGE
Type of the event that gets triggered right before a facet version is changed. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


POST_VERSION_CHANGE

public static final IFacetedProjectEvent.Type POST_VERSION_CHANGE
Type of the event that gets triggered right after a facet version is changed. Events of this type can be cast to IProjectFacetActionEvent interface to get additional details about the change.


FIXED_FACETS_CHANGED

public static final IFacetedProjectEvent.Type FIXED_FACETS_CHANGED
Type of the event that gets triggered when project's fixed facets are changed. Events of this type can be cast to IFixedFacetsChangedEvent interface to get additional details about the change.


TARGETED_RUNTIMES_CHANGED

public static final IFacetedProjectEvent.Type TARGETED_RUNTIMES_CHANGED
Type of the event that gets triggered when the set of runtimes that the project targets is changed. Events of this type can be cast to ITargetedRuntimesChangedEvent interface to get additional details about the change.


PRIMARY_RUNTIME_CHANGED

public static final IFacetedProjectEvent.Type PRIMARY_RUNTIME_CHANGED
Type of the event that gets triggered when the primary targeted runtime of the project is changed. Events of this type can be cast to IPrimaryRuntimeChangedEvent interface to get additional details about the change.


PROJECT_NAME_CHANGED

public static final IFacetedProjectEvent.Type PROJECT_NAME_CHANGED

PROJECT_FACETS_CHANGED

public static final IFacetedProjectEvent.Type PROJECT_FACETS_CHANGED

AVAILABLE_FACETS_CHANGED

public static final IFacetedProjectEvent.Type AVAILABLE_FACETS_CHANGED

AVAILABLE_PRESETS_CHANGED

public static final IFacetedProjectEvent.Type AVAILABLE_PRESETS_CHANGED

SELECTED_PRESET_CHANGED

public static final IFacetedProjectEvent.Type SELECTED_PRESET_CHANGED

AVAILABLE_RUNTIMES_CHANGED

public static final IFacetedProjectEvent.Type AVAILABLE_RUNTIMES_CHANGED

TARGETABLE_RUNTIMES_CHANGED

public static final IFacetedProjectEvent.Type TARGETABLE_RUNTIMES_CHANGED

VALIDATION_PROBLEMS_CHANGED

public static final IFacetedProjectEvent.Type VALIDATION_PROBLEMS_CHANGED
Method Detail

values

public static final IFacetedProjectEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(IFacetedProjectEvent.Type c : IFacetedProjectEvent.Type.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static IFacetedProjectEvent.Type valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name

Faceted Project Framework
Version 1.3

Copyright (c) 2008 BEA Systems, Inc. and others. All rights reserved.