Package org.apache.maven.buildcache
Class DefaultMultiModuleSupport
- java.lang.Object
-
- org.apache.maven.buildcache.DefaultMultiModuleSupport
-
- All Implemented Interfaces:
MultiModuleSupport
@Named public class DefaultMultiModuleSupport extends Object implements MultiModuleSupport
-
-
Constructor Summary
Constructors Constructor Description DefaultMultiModuleSupport(org.apache.maven.project.ProjectBuilder projectBuilder, CacheConfig cacheConfig, org.apache.maven.execution.MavenSession session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPartOfMultiModule(String groupId, String artifactId, String version)
boolean
isPartOfSession(String groupId, String artifactId, String version)
Optional<org.apache.maven.project.MavenProject>
tryToResolveProject(String groupId, String artifactId, String version)
-
-
-
Constructor Detail
-
DefaultMultiModuleSupport
@Inject public DefaultMultiModuleSupport(org.apache.maven.project.ProjectBuilder projectBuilder, CacheConfig cacheConfig, org.apache.maven.execution.MavenSession session)
-
-
Method Detail
-
isPartOfSession
public boolean isPartOfSession(String groupId, String artifactId, String version)
- Specified by:
isPartOfSession
in interfaceMultiModuleSupport
-
tryToResolveProject
public Optional<org.apache.maven.project.MavenProject> tryToResolveProject(String groupId, String artifactId, String version)
- Specified by:
tryToResolveProject
in interfaceMultiModuleSupport
-
isPartOfMultiModule
public boolean isPartOfMultiModule(String groupId, String artifactId, String version)
- Specified by:
isPartOfMultiModule
in interfaceMultiModuleSupport
-
-