Class SpotBugsReport

  • All Implemented Interfaces:
    java.io.Serializable, org.gradle.api.reporting.ConfigurableReport, org.gradle.api.reporting.CustomizableHtmlReport, org.gradle.api.reporting.Report, org.gradle.api.reporting.SingleFileReport, org.gradle.util.Configurable<org.gradle.api.reporting.Report>
    Direct Known Subclasses:
    SpotBugsHtmlReport, SpotBugsTextReport, SpotBugsXmlReport

    public abstract class SpotBugsReport
    extends java.lang.Object
    implements org.gradle.api.reporting.SingleFileReport, org.gradle.api.reporting.CustomizableHtmlReport
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.gradle.api.reporting.Report

        org.gradle.api.reporting.Report.OutputType
    • Field Summary

      • Fields inherited from interface org.gradle.api.reporting.Report

        NAMER
    • Constructor Summary

      Constructors 
      Constructor Description
      SpotBugsReport​(org.gradle.api.model.ObjectFactory objects, SpotBugsTask task)  
    • Constructor Detail

      • SpotBugsReport

        public SpotBugsReport​(org.gradle.api.model.ObjectFactory objects,
                              SpotBugsTask task)
    • Method Detail

      • toCommandLineOption

        @NonNull
        @Internal("This property returns always same value")
        public abstract java.util.Optional<java.lang.String> toCommandLineOption()
      • getDestination

        @OutputFile
        public java.io.File getDestination()
        Specified by:
        getDestination in interface org.gradle.api.reporting.Report
        Specified by:
        getDestination in interface org.gradle.api.reporting.SingleFileReport
      • getOutputType

        @Internal("This property returns always same value")
        public org.gradle.api.reporting.Report.OutputType getOutputType()
        Specified by:
        getOutputType in interface org.gradle.api.reporting.Report
        Specified by:
        getOutputType in interface org.gradle.api.reporting.SingleFileReport
      • isEnabled

        @Input
        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.gradle.api.reporting.Report
      • setEnabled

        public void setEnabled​(boolean b)
        Specified by:
        setEnabled in interface org.gradle.api.reporting.ConfigurableReport
        Specified by:
        setEnabled in interface org.gradle.api.reporting.Report
      • setEnabled

        public void setEnabled​(org.gradle.api.provider.Provider<java.lang.Boolean> provider)
        Specified by:
        setEnabled in interface org.gradle.api.reporting.ConfigurableReport
      • setDestination

        public void setDestination​(java.io.File file)
        Specified by:
        setDestination in interface org.gradle.api.reporting.ConfigurableReport
      • setDestination

        public void setDestination​(org.gradle.api.provider.Provider<java.io.File> provider)
        Specified by:
        setDestination in interface org.gradle.api.reporting.ConfigurableReport
      • configure

        public org.gradle.api.reporting.Report configure​(groovy.lang.Closure closure)
        Specified by:
        configure in interface org.gradle.util.Configurable<org.gradle.api.reporting.Report>
      • getDisplayName

        @Internal("This property provides only a human readable name.")
        public java.lang.String getDisplayName()
        Specified by:
        getDisplayName in interface org.gradle.api.reporting.Report
      • getStylesheet

        @CheckForNull
        public org.gradle.api.resources.TextResource getStylesheet()
        Specified by:
        getStylesheet in interface org.gradle.api.reporting.CustomizableHtmlReport
      • setStylesheet

        public void setStylesheet​(@Nullable
                                  org.gradle.api.resources.TextResource textResource)
        Specified by:
        setStylesheet in interface org.gradle.api.reporting.CustomizableHtmlReport
      • getTask

        @NonNull
        @Internal
        protected final SpotBugsTask getTask()