Forge - Projects API 2.0.0.Alpha3

org.jboss.forge.projects
Interface ProjectLocator


@Exported
public interface ProjectLocator

Locates project root directories, and creates instances of projects for that type.

Author:
Lincoln Baxter, III

Method Summary
 boolean containsProject(DirectoryResource resource)
          Returns true if the given DirectoryResource contains an existing Project.
 Project createProject(DirectoryResource targetDir)
          Create a new or existing Project with the given DirectoryResource as Project.getProjectRoot().
 

Method Detail

createProject

Project createProject(DirectoryResource targetDir)
Create a new or existing Project with the given DirectoryResource as Project.getProjectRoot().


containsProject

boolean containsProject(DirectoryResource resource)
Returns true if the given DirectoryResource contains an existing Project.


Forge - Projects API 2.0.0.Alpha3

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