Forge - Projects API 2.0.0.Alpha3

org.jboss.forge.projects
Interface Project

All Superinterfaces:
org.jboss.forge.facets.Faceted<ProjectFacet>
All Known Implementing Classes:
AbstractProject

public interface Project
extends org.jboss.forge.facets.Faceted<ProjectFacet>

Describes a set of Resource instances that represent a unit of work.

Author:
Lincoln Baxter, III

Method Summary
 Object getAttribute(Object key)
          Get a value from this project's internal attributes.
 DirectoryResource getProjectRoot()
          Get the DirectoryResource representing the root directory of this Project.
 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 interface org.jboss.forge.facets.Faceted
getFacet, getFacets, getFacets, hasAllFacets, hasAllFacets, hasFacet, install, supports, uninstall
 

Method Detail

getAttribute

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


setAttribute

void setAttribute(Object key,
                  Object value)
Set a value in this project's internal attributes.


removeAttribute

void removeAttribute(Object key)
Remove a value from this project's internal attributes.


getProjectRoot

DirectoryResource getProjectRoot()
Get the DirectoryResource representing the root directory of this Project.


Forge - Projects API 2.0.0.Alpha3

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