Forge - Parent 2.0.0.Alpha1

org.jboss.forge.projects
Interface ProjectLocator

All Known Implementing Classes:
MavenProjectLocator

@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 - Parent 2.0.0.Alpha1

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