Forge - Parent 1.0.5-SNAPSHOT

org.jboss.forge.maven.providers
Class MavenMultiModuleProvider

java.lang.Object
  extended by org.jboss.forge.maven.providers.MavenMultiModuleProvider
All Implemented Interfaces:
ProjectAssociationProvider

public class MavenMultiModuleProvider
extends Object
implements ProjectAssociationProvider

Setup parent-child relation of Maven projects.

Author:
Torben Jaeger, Lincoln Baxter, III

Constructor Summary
MavenMultiModuleProvider()
           
 
Method Summary
 void associate(Project project, DirectoryResource parentDir)
          Create a parent-child association between the given Project and the given parent directory.
 boolean canAssociate(Project project, DirectoryResource parent)
          Return true if this provide is capable of creating a parent-child association between the given Project and the given parent directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenMultiModuleProvider

public MavenMultiModuleProvider()
Method Detail

associate

public void associate(Project project,
                      DirectoryResource parentDir)
Description copied from interface: ProjectAssociationProvider
Create a parent-child association between the given Project and the given parent directory.

Specified by:
associate in interface ProjectAssociationProvider

canAssociate

public boolean canAssociate(Project project,
                            DirectoryResource parent)
Description copied from interface: ProjectAssociationProvider
Return true if this provide is capable of creating a parent-child association between the given Project and the given parent directory.

Specified by:
canAssociate in interface ProjectAssociationProvider

Forge - Parent 1.0.5-SNAPSHOT

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.