Class SourceResolverConfig
- java.lang.Object
-
- org.apache.maven.plugins.javadoc.resolver.SourceResolverConfig
-
public class SourceResolverConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description SourceResolverConfig(org.apache.maven.project.MavenProject project, org.apache.maven.project.ProjectBuildingRequest buildingRequest, File outputBasedir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.maven.shared.artifact.filter.resolve.AndFilter
filter()
org.apache.maven.project.ProjectBuildingRequest
getBuildingRequest()
boolean
includeCompileSources()
boolean
includeTestSources()
File
outputBasedir()
org.apache.maven.project.MavenProject
project()
List<org.apache.maven.project.MavenProject>
reactorProjects()
SourceResolverConfig
withCompileSources()
SourceResolverConfig
withFilter(org.apache.maven.shared.artifact.filter.resolve.AndFilter filter)
SourceResolverConfig
withoutCompileSources()
SourceResolverConfig
withoutTestSources()
SourceResolverConfig
withReactorProjects(List<org.apache.maven.project.MavenProject> reactorProjects)
SourceResolverConfig
withTestSources()
-
-
-
Constructor Detail
-
SourceResolverConfig
public SourceResolverConfig(org.apache.maven.project.MavenProject project, org.apache.maven.project.ProjectBuildingRequest buildingRequest, File outputBasedir)
- Parameters:
project
-MavenProject
buildingRequest
-ProjectBuildingRequest
outputBasedir
- The output base directory.
-
-
Method Detail
-
withFilter
public SourceResolverConfig withFilter(org.apache.maven.shared.artifact.filter.resolve.AndFilter filter)
- Parameters:
filter
-AndFilter
- Returns:
SourceResolverConfig
-
withReactorProjects
public SourceResolverConfig withReactorProjects(List<org.apache.maven.project.MavenProject> reactorProjects)
- Parameters:
reactorProjects
- The list of reactor projects.- Returns:
SourceResolverConfig
-
withCompileSources
public SourceResolverConfig withCompileSources()
- Returns:
SourceResolverConfig
-
withoutCompileSources
public SourceResolverConfig withoutCompileSources()
- Returns:
SourceResolverConfig
-
withTestSources
public SourceResolverConfig withTestSources()
- Returns:
SourceResolverConfig
-
withoutTestSources
public SourceResolverConfig withoutTestSources()
- Returns:
SourceResolverConfig
-
project
public org.apache.maven.project.MavenProject project()
- Returns:
MavenProject
-
getBuildingRequest
public org.apache.maven.project.ProjectBuildingRequest getBuildingRequest()
- Returns:
ProjectBuildingRequest
-
filter
public org.apache.maven.shared.artifact.filter.resolve.AndFilter filter()
- Returns:
AndFilter
-
reactorProjects
public List<org.apache.maven.project.MavenProject> reactorProjects()
- Returns:
- list of
MavenProject
-
outputBasedir
public File outputBasedir()
- Returns:
outputBasedir
-
includeCompileSources
public boolean includeCompileSources()
- Returns:
compileSourceIncluded
-
includeTestSources
public boolean includeTestSources()
- Returns:
testSourceIncluded
-
-