Forge - Shell API 1.2.0.Final

org.jboss.forge.project.locator
Interface ProjectLocator


public interface ProjectLocator

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

Author:
Lincoln Baxter, III

Method Summary
 boolean containsProject(DirectoryResource dir)
          Return true if the given DirectoryResource contains a project.
 Project createProject(DirectoryResource dir)
          Attempt to locate a project root directory in the given folder.
 

Method Detail

createProject

Project createProject(DirectoryResource dir)
Attempt to locate a project root directory in the given folder. If found, return the project; otherwise, return null;


containsProject

boolean containsProject(DirectoryResource dir)
Return true if the given DirectoryResource contains a project. Otherwise, return false.


Forge - Shell API 1.2.0.Final

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