Faceted Project Framework
Version 1.3

org.eclipse.wst.common.project.facet.core
Class IFacetedProject.Action

java.lang.Object
  extended by org.eclipse.wst.common.project.facet.core.IFacetedProject.Action
Enclosing interface:
IFacetedProject

public static final class IFacetedProject.Action
extends Object

Represents a single action such as installing or uninstalling a project facet.


Nested Class Summary
static class IFacetedProject.Action.Type
          The action type enumeration.
 
Constructor Summary
IFacetedProject.Action(IFacetedProject.Action.Type type, IProjectFacetVersion fv, Object config)
          Creates a new action.
 
Method Summary
 boolean equals(Object obj)
           
 Object getConfig()
          Returns the configuration object associated with this action, if any.
 IProjectFacetVersion getProjectFacetVersion()
          Returns the descriptor for the project facet version that this action will be manipulating.
 IFacetedProject.Action.Type getType()
          Returns the action type
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IFacetedProject.Action

public IFacetedProject.Action(IFacetedProject.Action.Type type,
                              IProjectFacetVersion fv,
                              Object config)
Creates a new action.

Parameters:
type - action type
fv - the the project facet version
config - the configuration object, or null
Method Detail

getType

public IFacetedProject.Action.Type getType()
Returns the action type

Returns:
the action type

getProjectFacetVersion

public IProjectFacetVersion getProjectFacetVersion()
Returns the descriptor for the project facet version that this action will be manipulating.

Returns:
the descriptor for the project facet version that this action will be manipulating

getConfig

public Object getConfig()
Returns the configuration object associated with this action, if any.

Returns:
the configuration object associated with this action, or null

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object

Faceted Project Framework
Version 1.3

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