org.jboss.forge.maven.providers
Class MavenMultiModuleProvider
java.lang.Object
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
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 |
MavenMultiModuleProvider
public MavenMultiModuleProvider()
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
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.