public class AntInstrumentationConfig extends JavaInstrumentationConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
AntInstrumentationConfig.EnumInstrumentationLevel
Ant enumerated attribute subclass for the Clover instrumentation level policy
|
static class |
AntInstrumentationConfig.FlushPolicy
Ant Enumerated Attribute subclass for the clover flush policy
|
static class |
AntInstrumentationConfig.Instrumentation
Ant Enumerated Attribute subclass for the clover flush policy
|
| Modifier and Type | Field and Description |
|---|---|
protected List<org.apache.tools.ant.types.FileSet> |
instrFilesets |
protected List<TestSourceSet> |
testSources |
JAVA_LANG_PREFIXDEFAULT_DB_DIR, DEFAULT_DB_FILE, DEFAULT_FLUSHING, DIRECTED_FLUSH_POLICY, DIRECTED_FLUSHING, FLUSH_VALUES, INTERVAL_FLUSH_POLICY, INTERVAL_FLUSHING, THREADED_FLUSH_POLICY, THREADED_FLUSHING| Constructor and Description |
|---|
AntInstrumentationConfig(org.apache.tools.ant.Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredFileSet(org.apache.tools.ant.types.FileSet set) |
void |
addConfiguredTestSources(TestSourceSet testSourceSet) |
void |
configureIncludedFiles() |
String |
getCompilerDelegate() |
static AntInstrumentationConfig |
getFrom(org.apache.tools.ant.Project project) |
File |
getGroverJar() |
List<org.apache.tools.ant.types.FileSet> |
getInstrFilesets() |
org.apache.tools.ant.types.PatternSet |
getInstrPattern() |
List<TestSourceSet> |
getTestSources() |
boolean |
isPreserve() |
boolean |
isSkipGroverJar() |
String |
resolveInitString()
Overridden method that resolves the init string against the project's basedir.
|
void |
setCompilerDelegate(String compilerDelegate) |
void |
setGroverJar(File groverJar) |
void |
setIn(org.apache.tools.ant.Project project) |
void |
setInstrPattern(org.apache.tools.ant.types.PatternSet filesPattern) |
void |
setInstrumentLambda(String instrumentLambda)
Extra setter so that we can call it from Grails' BuildConfig
|
void |
setPreserve(boolean preserve) |
void |
setSkipGroverJar(boolean skip) |
addSourceFile, getDestDir, getInstrFileExtension, getInstrumentLambda, getJavaLangPrefix, getSourceDir, getSourceFiles, getSourceLevel, setDestDir, setFullyQualifyJavaLang, setInstrFileExtension, setInstrumentLambda, setSourceDir, setSourceLevel, validateaddMethodContext, addProfile, addStatementContext, createDefaultInitStringDir, getClassNotFoundMsg, getDefaultBaseDir, getDistributedConfigString, getEncoding, getFlushInterval, getFlushPolicy, getFlushPolicyString, getIncludedFiles, getInitString, getInstrLevel, getMethodContexts, getProfiles, getProjectName, getRegistryFile, getRuntimeInitString, getStatementContexts, getTestDetector, getTmpDir, getValidationFailureReason, hasCustomContexts, isClassInstrStrategy, isEnabled, isIntervalBasedFlushing, isRecordTestResults, isRelative, isReportInitErrors, isSliceRecording, isStatementInstrEnabled, isTestDetector, loadFromStream, saveToFile, setClassInstrStragegy, setClassNotFoundMsg, setDefaultBaseDir, setDistributedConfig, setEnabled, setEncoding, setFlushInterval, setFlushPolicy, setFlushPolicyFromString, setIncludedFiles, setInitstring, setInstrLevel, setInstrLevelStrategy, setInstrStrategy, setProjectName, setRecordTestResults, setRegistryFile, setRelative, setReportInitErrors, setSliceRecording, setTestDetector, setTmpDir, setValidationFailureReasonprotected transient List<org.apache.tools.ant.types.FileSet> instrFilesets
protected transient List<TestSourceSet> testSources
public AntInstrumentationConfig(org.apache.tools.ant.Project project)
public String resolveInitString()
resolveInitString in class InstrumentationConfigpublic boolean isPreserve()
public void setPreserve(boolean preserve)
public String getCompilerDelegate()
public void setCompilerDelegate(String compilerDelegate)
@Nullable public static AntInstrumentationConfig getFrom(@NotNull org.apache.tools.ant.Project project)
public void setIn(org.apache.tools.ant.Project project)
public void addConfiguredFileSet(org.apache.tools.ant.types.FileSet set)
public void addConfiguredTestSources(TestSourceSet testSourceSet)
public List<org.apache.tools.ant.types.FileSet> getInstrFilesets()
public List<TestSourceSet> getTestSources()
public void setInstrumentLambda(String instrumentLambda)
public void setInstrPattern(org.apache.tools.ant.types.PatternSet filesPattern)
public org.apache.tools.ant.types.PatternSet getInstrPattern()
public void setGroverJar(File groverJar)
public File getGroverJar()
public void setSkipGroverJar(boolean skip)
public boolean isSkipGroverJar()
public void configureIncludedFiles()
Copyright © 2024 OpenClover.org. All rights reserved.