public class AntInstrUtils extends Object
| Constructor and Description |
|---|
AntInstrUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<org.apache.tools.ant.types.FileSet> |
calcInstrFileSets(org.apache.tools.ant.Project project) |
static org.apache.tools.ant.types.PatternSet |
calcInstrPatternSet(org.apache.tools.ant.Project project) |
static void |
cleanUpInstrDir(File tmpDir,
boolean preserveInstr) |
static File |
createInstrDir(File basedir) |
static String |
getProp(org.apache.tools.ant.Project project,
String key,
String defaultValue) |
static void |
sieveSourceByAddingAll(Collection<File> toCompile,
Collection<File> toCopy,
Collection<File> toInstrument) |
static void |
sieveSourceByDirSets(org.apache.tools.ant.Project project,
List<org.apache.tools.ant.types.FileSet> instrFileSetsList,
Collection<File> toCompile,
Collection<File> toCopy,
Collection<File> toInstrument) |
static void |
sieveSourceByPatternSets(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 void |
sieveSourceForInstrumentation(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 void |
sieveSrcPath(org.apache.tools.ant.Project project,
org.apache.tools.ant.types.PatternSet instrPatternSet,
Collection<File> toCompile,
Collection<File> toCopy,
Collection<File> toInstrument,
String srcDir) |
public static String getProp(@NotNull org.apache.tools.ant.Project project, String key, String defaultValue)
@Nullable
public static org.apache.tools.ant.types.PatternSet calcInstrPatternSet(@NotNull
org.apache.tools.ant.Project project)
@Nullable public static List<org.apache.tools.ant.types.FileSet> calcInstrFileSets(@NotNull org.apache.tools.ant.Project project)
public static File createInstrDir(@Nullable File basedir) throws CloverException
CloverExceptionpublic static void cleanUpInstrDir(@Nullable
File tmpDir,
boolean preserveInstr)
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)
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)
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)
public static void sieveSourceByAddingAll(@NotNull
Collection<File> toCompile,
@NotNull
Collection<File> toCopy,
@NotNull
Collection<File> toInstrument)
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)
Copyright © 2024 OpenClover.org. All rights reserved.