Class SpotBugsTaskForJava
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- com.github.spotbugs.snom.SpotBugsTask
-
- com.github.spotbugs.snom.internal.SpotBugsTaskForJava
-
- All Implemented Interfaces:
java.lang.Comparable<org.gradle.api.Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.Task,org.gradle.util.Configurable<org.gradle.api.Task>
@CacheableTask public class SpotBugsTaskForJava extends SpotBugsTask
-
-
Constructor Summary
Constructors Constructor Description SpotBugsTaskForJava(org.gradle.api.tasks.SourceSet sourceSet, org.gradle.api.model.ObjectFactory objects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.file.FileCollectiongetAuxClassPaths()org.gradle.api.file.FileCollectiongetClassDirs()org.gradle.api.file.FileCollectiongetSourceDirs()protected voidinit(SpotBugsExtension extension)Set properties from extension right after the task creation.-
Methods inherited from class com.github.spotbugs.snom.SpotBugsTask
getEffort, getFirstEnabledReport, getIgnoreFailures, getOmitVisitors, getReportLevel, getReports, getReportsDir, getShowProgress, getVisitors, reports, reports, run, setReportsDir
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, requiresResource, requiresResource, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
-
-
-
-
Method Detail
-
init
protected void init(SpotBugsExtension extension)
Description copied from class:SpotBugsTaskSet properties from extension right after the task creation. User may overwrite these properties by build script.- Overrides:
initin classSpotBugsTask- Parameters:
extension- the source extension to copy the properties.
-
getSourceDirs
public org.gradle.api.file.FileCollection getSourceDirs()
- Specified by:
getSourceDirsin classSpotBugsTask
-
getClassDirs
public org.gradle.api.file.FileCollection getClassDirs()
- Specified by:
getClassDirsin classSpotBugsTask
-
getAuxClassPaths
public org.gradle.api.file.FileCollection getAuxClassPaths()
- Specified by:
getAuxClassPathsin classSpotBugsTask
-
-