Confidence

The Confidence is used to specify the level to report bugs. Lower level contains more bugs reported. To include all bugs to your report, use LOW.

Usage

Set via the SpotBugsExtension to configure all tasks in your project:

// require Gradle 8.2+
spotbugs {
reportLevel = com.github.spotbugs.snom.Confidence.LOW
}

Or via SpotBugsTask to configure the specific task in your project:

// require Gradle 8.2+
spotbugsMain { // or name of another task
reportLevel = com.github.spotbugs.snom.Confidence.LOW
}

See also SpotBugs Manual.

Entries

Link copied to clipboard

The report level to report all detected bugs in the report.

Link copied to clipboard

The report level to report medium and high priority detected bugs in the report.

Link copied to clipboard

The default level that provides the same feature with MEDIUM.

Link copied to clipboard

The report level to report high priority detected bugs in the report.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.