Forge - Shell API 1.2.0.Final

org.jboss.forge.project.facets
Class BaseFacet

java.lang.Object
  extended by org.jboss.forge.project.facets.BaseFacet
All Implemented Interfaces:
Facet

public abstract class BaseFacet
extends Object
implements Facet

A base convenience Facet abstract class.

Author:
Lincoln Baxter, III

Field Summary
protected  Project project
           
 
Constructor Summary
BaseFacet()
           
 
Method Summary
 boolean equals(Object obj)
           
 Project getProject()
          Return the Project instance on which this Facet operates.
 int hashCode()
           
 void setProject(Project project)
          Initialize this Facet for operation on the given Project.
 boolean uninstall()
          Remove this Facet from its Project, and perform any necessary cleanup.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.project.Facet
install, isInstalled
 

Field Detail

project

protected Project project
Constructor Detail

BaseFacet

public BaseFacet()
Method Detail

getProject

public Project getProject()
Description copied from interface: Facet
Return the Project instance on which this Facet operates.

Specified by:
getProject in interface Facet

setProject

public void setProject(Project project)
Description copied from interface: Facet
Initialize this Facet for operation on the given Project. This method is responsible for ensuring that the Facet instance is ready for use, and must be called before any other methods.

Specified by:
setProject in interface Facet

uninstall

public boolean uninstall()
Description copied from interface: Facet
Remove this Facet from its Project, and perform any necessary cleanup.

Specified by:
uninstall in interface Facet

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

Forge - Shell API 1.2.0.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.