Package org.openclover.ant
Class AntInstrUtils
java.lang.Object
org.openclover.ant.AntInstrUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.apache.tools.ant.types.FileSet> calcInstrFileSets(org.apache.tools.ant.Project project) static org.apache.tools.ant.types.PatternSetcalcInstrPatternSet(org.apache.tools.ant.Project project) static voidcleanUpInstrDir(File tmpDir, boolean preserveInstr) static FilecreateInstrDir(File basedir) static Stringstatic voidsieveSourceByAddingAll(Collection<File> toCompile, Collection<File> toCopy, Collection<File> toInstrument) static voidsieveSourceByDirSets(org.apache.tools.ant.Project project, List<org.apache.tools.ant.types.FileSet> instrFileSetsList, Collection<File> toCompile, Collection<File> toCopy, Collection<File> toInstrument) static voidsieveSourceByPatternSets(org.apache.tools.ant.Project project, org.apache.tools.ant.types.Path srcPath, org.apache.tools.ant.types.PatternSet instrPatternSet, Collection<File> toCompile, Collection<File> toCopy, Collection<File> toInstrument) static voidsieveSourceForInstrumentation(org.apache.tools.ant.Project project, org.apache.tools.ant.types.Path srcPath, org.apache.tools.ant.types.PatternSet instrPatternSet, List<org.apache.tools.ant.types.FileSet> instrFileSetsList, Collection<File> toCompile, Collection<File> toCopy, Collection<File> toInstrument) static voidsieveSrcPath(org.apache.tools.ant.Project project, org.apache.tools.ant.types.PatternSet instrPatternSet, Collection<File> toCompile, Collection<File> toCopy, Collection<File> toInstrument, String srcDir)
-
Constructor Details
-
AntInstrUtils
public AntInstrUtils()
-
-
Method Details
-
getProp
-
calcInstrPatternSet
@Nullable public static org.apache.tools.ant.types.PatternSet calcInstrPatternSet(@NotNull org.apache.tools.ant.Project project) -
calcInstrFileSets
@Nullable public static List<org.apache.tools.ant.types.FileSet> calcInstrFileSets(@NotNull org.apache.tools.ant.Project project) -
createInstrDir
public static File createInstrDir(@Nullable File basedir) throws org.openclover.runtime.api.CloverException - Throws:
org.openclover.runtime.api.CloverException
-
cleanUpInstrDir
-
sieveSourceForInstrumentation
public static void sieveSourceForInstrumentation(@NotNull org.apache.tools.ant.Project project, @Nullable org.apache.tools.ant.types.Path srcPath, @Nullable org.apache.tools.ant.types.PatternSet instrPatternSet, @Nullable List<org.apache.tools.ant.types.FileSet> instrFileSetsList, @NotNull Collection<File> toCompile, @NotNull Collection<File> toCopy, @NotNull Collection<File> toInstrument) -
sieveSourceByPatternSets
public static void sieveSourceByPatternSets(@NotNull org.apache.tools.ant.Project project, @NotNull org.apache.tools.ant.types.Path srcPath, @NotNull org.apache.tools.ant.types.PatternSet instrPatternSet, @NotNull Collection<File> toCompile, @NotNull Collection<File> toCopy, @NotNull Collection<File> toInstrument) -
sieveSourceByDirSets
public static void sieveSourceByDirSets(@NotNull org.apache.tools.ant.Project project, @NotNull List<org.apache.tools.ant.types.FileSet> instrFileSetsList, @NotNull Collection<File> toCompile, @NotNull Collection<File> toCopy, @NotNull Collection<File> toInstrument) -
sieveSourceByAddingAll
public static void sieveSourceByAddingAll(@NotNull Collection<File> toCompile, @NotNull Collection<File> toCopy, @NotNull Collection<File> toInstrument) -
sieveSrcPath
public static void sieveSrcPath(@NotNull org.apache.tools.ant.Project project, @NotNull org.apache.tools.ant.types.PatternSet instrPatternSet, @NotNull Collection<File> toCompile, @NotNull Collection<File> toCopy, @NotNull Collection<File> toInstrument, @NotNull String srcDir)
-