Class SourceLoaderFactory
java.lang.Object
org.eluder.coveralls.maven.plugin.util.SourceLoaderFactory
A factory for creating SourceLoader objects.
-
Constructor Summary
ConstructorsConstructorDescriptionSourceLoaderFactory(File baseDir, org.apache.maven.project.MavenProject project, Charset sourceEncoding) Instantiates a new source loader factory. -
Method Summary
Modifier and TypeMethodDescriptionCreates a new SourceLoader object.withScanForSources(boolean scanForSources) With scan for sources.withSourceDirectories(List<File> sourceDirectories) With source directories.
-
Constructor Details
-
SourceLoaderFactory
-
-
Method Details
-
withSourceDirectories
With source directories.- Parameters:
sourceDirectories- the source directories- Returns:
- the source loader factory
-
withScanForSources
With scan for sources.- Parameters:
scanForSources- the scan for sources- Returns:
- the source loader factory
-
createSourceLoader
Creates a new SourceLoader object.- Returns:
- the source loader
-