java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, PatternFilterable, VerificationTask, Configurable<Task>Checkstyle, CodeNarc, Pmd@Incubating @DisableCachingByDefault(because="Super-class, not to be instantiated directly") public abstract class AbstractCodeQualityTask extends SourceTask implements VerificationTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description |
|---|---|
AbstractCodeQualityTask() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
configureForkOptions(JavaForkOptions forkOptions) |
|
boolean |
getIgnoreFailures() |
Specifies whether the build should break when the verifications performed by this task fail.
|
protected abstract Property<java.lang.Boolean> |
getIgnoreFailuresProperty() |
|
abstract Property<JavaLauncher> |
getJavaLauncher() |
Java launcher used to start the worker process
|
abstract Property<java.lang.String> |
getMaxHeapSize() |
The maximum heap size for the worker process.
|
abstract Property<java.lang.String> |
getMinHeapSize() |
The minimum heap size for the worker process.
|
protected abstract ObjectFactory |
getObjectFactory() |
|
protected abstract JavaToolchainService |
getToolchainService() |
|
protected abstract WorkerExecutor |
getWorkerExecutor() |
|
void |
setIgnoreFailures(boolean ignoreFailures) |
Specifies whether the build should break when the verifications performed by this task fail.
|
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSet, getPatternSetFactory, getSource, include, include, include, include, setExcludes, setIncludes, setSource, setSource, sourceconventionMapping, conventionMapping, getConventionMappingcompareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCachepublic boolean getIgnoreFailures()
getIgnoreFailures in interface VerificationTaskpublic void setIgnoreFailures(boolean ignoreFailures)
setIgnoreFailures in interface VerificationTaskignoreFailures - false to break the build on failure, true to ignore the failures. The default is false.@Internal protected abstract Property<java.lang.Boolean> getIgnoreFailuresProperty()
@Inject protected abstract ObjectFactory getObjectFactory()
@Inject protected abstract JavaToolchainService getToolchainService()
@Inject protected abstract WorkerExecutor getWorkerExecutor()
protected void configureForkOptions(JavaForkOptions forkOptions)
public abstract Property<JavaLauncher> getJavaLauncher()
@Optional @Input public abstract Property<java.lang.String> getMinHeapSize()
-Xms such as "1g".