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 booleanisPartOfMultiModule(String groupId, String artifactId, String version)booleanisPartOfSession(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:
isPartOfSessionin interfaceMultiModuleSupport
-
tryToResolveProject
public Optional<org.apache.maven.project.MavenProject> tryToResolveProject(String groupId, String artifactId, String version)
- Specified by:
tryToResolveProjectin interfaceMultiModuleSupport
-
isPartOfMultiModule
public boolean isPartOfMultiModule(String groupId, String artifactId, String version)
- Specified by:
isPartOfMultiModulein interfaceMultiModuleSupport
-
-