Forge - Projects API 2.0.0.Alpha3

org.jboss.forge.projects
Class AbstractProject

java.lang.Object
  extended by org.jboss.forge.facets.AbstractFaceted<ProjectFacet>
      extended by org.jboss.forge.projects.AbstractProject
All Implemented Interfaces:
org.jboss.forge.facets.Faceted<ProjectFacet>, Project

public abstract class AbstractProject
extends org.jboss.forge.facets.AbstractFaceted<ProjectFacet>
implements Project

Convenience base class for Project implementations.

Author:
Lincoln Baxter, III

Constructor Summary
AbstractProject()
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getAttribute(Object key)
          Get a value from this project's internal attributes.
 int hashCode()
           
 void removeAttribute(Object key)
          Remove a value from this project's internal attributes.
 void setAttribute(Object key, Object value)
          Set a value in this project's internal attributes.
 
Methods inherited from class org.jboss.forge.facets.AbstractFaceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, uninstall
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.forge.projects.Project
getProjectRoot
 
Methods inherited from interface org.jboss.forge.facets.Faceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall
 

Constructor Detail

AbstractProject

public AbstractProject()
Method Detail

getAttribute

public Object getAttribute(Object key)
Description copied from interface: Project
Get a value from this project's internal attributes. If the value is not set, return null instead.

Specified by:
getAttribute in interface Project

setAttribute

public void setAttribute(Object key,
                         Object value)
Description copied from interface: Project
Set a value in this project's internal attributes.

Specified by:
setAttribute in interface Project

removeAttribute

public void removeAttribute(Object key)
Description copied from interface: Project
Remove a value from this project's internal attributes.

Specified by:
removeAttribute in interface Project

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

Forge - Projects API 2.0.0.Alpha3

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