org.jboss.forge.project.facets
Class BaseFacet
java.lang.Object
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
project
protected Project project
BaseFacet
public BaseFacet()
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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.