Class ExistingFiles
java.lang.Object
org.eluder.coveralls.maven.plugin.util.ExistingFiles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds the.Adds the all.static ExistingFilesCreates the.iterator()toParsers(Function<File, CoverageParser> parserFunction) Converts existing files to a list of CoverageParser using the provided function.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
ExistingFiles
public ExistingFiles()Instantiates a new existing files.
-
-
Method Details
-
addAll
Adds the all.- Parameters:
files- the files- Returns:
- the existing files
-
add
Adds the.- Parameters:
file- the file- Returns:
- the existing files
-
iterator
-
create
Creates the.- Parameters:
files- the files- Returns:
- the existing files
-
toParsers
Converts existing files to a list of CoverageParser using the provided function.- Parameters:
parserFunction- function to convert File to CoverageParser- Returns:
- list of CoverageParser for valid files
-