Serialized Form


Package hudson.plugins.pmd

Class hudson.plugins.pmd.PmdProjectAction extends AbstractProjectAction<PmdResultAction> implements Serializable

serialVersionUID: -654316141132780561L

Class hudson.plugins.pmd.PmdReporter extends hudson.maven.MavenReporter implements Serializable

Serialized Fields

pattern

java.lang.String pattern
Ant file-set pattern of files to work with.


threshold

java.lang.String threshold
Annotation threshold to be reached if a build should be considered as unstable.


thresholdEnabled

boolean thresholdEnabled
Determines whether to use the provided threshold to mark a build as unstable.


minimumAnnotations

int minimumAnnotations
Integer threshold to be reached if a build should be considered as unstable.


healthy

java.lang.String healthy
Report health as 100% when the number of warnings is less than this value.


unHealthy

java.lang.String unHealthy
Report health as 0% when the number of warnings is greater than this value.


healthyAnnotations

int healthyAnnotations
Report health as 100% when the number of warnings is less than this value.


unHealthyAnnotations

int unHealthyAnnotations
Report health as 0% when the number of warnings is greater than this value.


healthyReportEnabled

boolean healthyReportEnabled
Determines whether to use the provided healthy thresholds.

Class hudson.plugins.pmd.PmdResult extends java.lang.Object implements Serializable

serialVersionUID: 2768250056765266658L

Serialized Fields

numberOfWarnings

int numberOfWarnings
The number of warnings in this build.


numberOfNewWarnings

int numberOfNewWarnings
The number of new warnings in this build.


numberOfFixedWarnings

int numberOfFixedWarnings
The number of fixed warnings in this build.


delta

int delta
Difference between this and the previous build.


low

int low
The number of low priority warnings in this build.


normal

int normal
The number of normal priority warnings in this build.


high

int high
The number of high priority warnings in this build.


zeroWarningsSinceBuild

int zeroWarningsSinceBuild
Determines since which build we have zero warnings.


zeroWarningsSinceDate

long zeroWarningsSinceDate
Determines since which time we have zero warnings.


zeroWarningsHighScore

long zeroWarningsHighScore
Determines since which time we have zero warnings.


errors

java.util.List<E> errors
Error messages.


owner

hudson.model.AbstractBuild<P extends hudson.model.AbstractProject<P,R>,R extends hudson.model.AbstractBuild<P,R>> owner
Current build as owner of this action.


emptyModules

java.util.Map<K,V> emptyModules
The modules with no warnings.


numberOfModules

int numberOfModules
The total number of modules with or without warnings.

Class hudson.plugins.pmd.PmdResultAction extends AbstractResultAction<PmdResult> implements Serializable

serialVersionUID: -5329651349674842873L


Package hudson.plugins.pmd.parser

Class hudson.plugins.pmd.parser.Bug extends AbstractAnnotation implements Serializable

serialVersionUID: 5171661552905752370L

Serialized Fields

category

java.lang.String category
Bug category.


type

java.lang.String type
Bug type.


tooltip

java.lang.String tooltip
Bug HTML description.

Class hudson.plugins.pmd.parser.JavaFileFinder extends java.lang.Object implements Serializable

serialVersionUID: 2970029366847565970L

Class hudson.plugins.pmd.parser.PmdCollector extends java.lang.Object implements Serializable

serialVersionUID: -6415863872891783891L

Serialized Fields

buildTime

long buildTime
Build time stamp, only newer files are considered.


filePattern

java.lang.String filePattern
Ant file-set pattern to scan for PMD files.


Package hudson.plugins.pmd.util

Class hudson.plugins.pmd.util.AbortException extends java.lang.RuntimeException implements Serializable

serialVersionUID: -5897876033901702893L

Class hudson.plugins.pmd.util.AbstractAnnotationsDetail extends AnnotationContainer implements Serializable

Serialized Fields

owner

hudson.model.AbstractBuild<P extends hudson.model.AbstractProject<P,R>,R extends hudson.model.AbstractBuild<P,R>> owner
Current build as owner of this object.


header

java.lang.String header
Header in jelly script.

Class hudson.plugins.pmd.util.AbstractAreaRenderer extends hudson.util.StackedAreaRenderer2 implements Serializable

Serialized Fields

url

java.lang.String url
Base URL of the graph links.


singleTooltip

java.lang.String singleTooltip
Tooltip to be shown if there is one item.


multipleTooltip

java.lang.String multipleTooltip
Tooltip to be shown if there are multiple items.

Class hudson.plugins.pmd.util.AbstractProjectAction extends java.lang.Object implements Serializable

Serialized Fields

project

hudson.model.AbstractProject<P extends hudson.model.AbstractProject<P,R>,R extends hudson.model.AbstractBuild<P,R>> project
Project that owns this action.


resultActionType

java.lang.Class<T> resultActionType
The type of the result action.


iconUrl

java.lang.String iconUrl
The icon URL of this action: it will be shown as soon as a result is available.


resultsUrl

java.lang.String resultsUrl
URL to the results of the last build.

Class hudson.plugins.pmd.util.AbstractResultAction extends java.lang.Object implements Serializable

Serialized Fields

owner

hudson.model.AbstractBuild<P extends hudson.model.AbstractProject<P,R>,R extends hudson.model.AbstractBuild<P,R>> owner
The associated build of this action.


healthReportBuilder

HealthReportBuilder healthReportBuilder
Builds a health report.


result

java.lang.Object result
The actual result of this action.

Class hudson.plugins.pmd.util.FixedWarningsDetail extends AbstractAnnotationsDetail implements Serializable

serialVersionUID: -8601095040123486522L

Class hudson.plugins.pmd.util.HealthReportBuilder extends java.lang.Object implements Serializable

serialVersionUID: 5191317904662711835L

Serialized Fields

healthy

int healthy
Report health as 100% when the number of warnings is less than this value.


unHealthy

int unHealthy
Report health as 0% when the number of warnings is greater than this value.


isHealthEnabled

boolean isHealthEnabled
Determines whether to use the provided healthy thresholds.


reportName

java.lang.String reportName
Name of the report.


itemName

java.lang.String itemName
Name of a item.


isThresholdEnabled

boolean isThresholdEnabled
Determines whether to use the provided unstable threshold.


threshold

int threshold
Bug threshold to be reached if a build should be considered as unstable.


reportSingleCount

java.lang.String reportSingleCount
Message to be shown for a single item count.


reportMultipleCount

java.lang.String reportMultipleCount
Message to be shown for a multiple item count.

Class hudson.plugins.pmd.util.ModuleDetail extends AbstractAnnotationsDetail implements Serializable

serialVersionUID: -1854984151887397361L

Serialized Fields

module

MavenModule module
The module to show the details for.

Class hudson.plugins.pmd.util.NewWarningsDetail extends AbstractAnnotationsDetail implements Serializable

serialVersionUID: 5093487322493056475L

Class hudson.plugins.pmd.util.PackageDetail extends AbstractAnnotationsDetail implements Serializable

serialVersionUID: -5315146140343619856L

Serialized Fields

javaPackage

JavaPackage javaPackage
The package to show the details for.

Class hudson.plugins.pmd.util.PrioritiesAreaRenderer extends AbstractAreaRenderer implements Serializable

serialVersionUID: -4683951507836348304L

Class hudson.plugins.pmd.util.PrioritiesDetail extends AbstractAnnotationsDetail implements Serializable

serialVersionUID: -5315146140343619856L

Serialized Fields

priority

Priority priority
Priority of the annotations.

Class hudson.plugins.pmd.util.ResultAreaRenderer extends AbstractAreaRenderer implements Serializable

serialVersionUID: -4683951507836348304L


Package hudson.plugins.pmd.util.model

Class hudson.plugins.pmd.util.model.AbstractAnnotation extends java.lang.Object implements Serializable

serialVersionUID: -1092014926477547148L

Serialized Fields

message

java.lang.String message
The message of this annotation.


priority

Priority priority
The priority of this annotation.


key

long key
Unique key of this annotation.


lineRanges

java.util.List<E> lineRanges
The ordered list of line ranges that show the origin of the annotation in the associated file.


primaryLineNumber

int primaryLineNumber
Primary line number of this warning, i.e., the start line of the first line range.


fileName

java.lang.String fileName
The filename of the class that contains this annotation.


moduleName

java.lang.String moduleName
The name of the maven or ant module that contains this annotation.


packageName

java.lang.String packageName
The name of the package (or name space) that contains this annotation.

Class hudson.plugins.pmd.util.model.AnnotationContainer extends java.lang.Object implements Serializable

serialVersionUID: 855696821788264261L

Serialization Methods

readResolve

private java.lang.Object readResolve()
Rebuilds the priorities mapping.

Serialized Fields

annotations

java.util.Map<K,V> annotations
The annotations mapped by their key.

Class hudson.plugins.pmd.util.model.JavaPackage extends AnnotationContainer implements Serializable

serialVersionUID: 4034932648975191723L

Serialization Methods

readResolve

private java.lang.Object readResolve()
Rebuilds the priorities mapping.

Serialized Fields

name

java.lang.String name
Name of this package.


fileMapping

java.util.Map<K,V> fileMapping
All Java files in this package (mapped by their short name).

Class hudson.plugins.pmd.util.model.JavaProject extends AnnotationContainer implements Serializable

serialVersionUID: 8556968267678442661L

Serialization Methods

readResolve

private java.lang.Object readResolve()
Rebuilds the priorities mapping.

Serialized Fields

moduleMapping

java.util.Map<K,V> moduleMapping
All maven modules in this project (mapped by their name).


workspacePath

java.lang.String workspacePath
Path of the workspace.


hasModuleError

boolean hasModuleError
Determines whether a module with an error is part of this project.


error

java.lang.String error
The error message that denotes that why project creation has been failed.

Class hudson.plugins.pmd.util.model.LineRange extends java.lang.Object implements Serializable

serialVersionUID: -4124143085672930110L

Serialized Fields

start

int start
Start of the range.


end

int end
End of the range.

Class hudson.plugins.pmd.util.model.MavenModule extends AnnotationContainer implements Serializable

serialVersionUID: 5467122420572804130L

Serialization Methods

readResolve

private java.lang.Object readResolve()
Rebuilds the priorities mapping.

Serialized Fields

name

java.lang.String name
Name of this module.


packageMapping

java.util.Map<K,V> packageMapping
All Java packages in this maven module (mapped by their name).


error

java.lang.String error
The error message that denotes that the creation of the module has been failed.

Class hudson.plugins.pmd.util.model.WorkspaceFile extends AnnotationContainer implements Serializable

serialVersionUID: 601361940925156719L

Serialization Methods

readResolve

private java.lang.Object readResolve()
Rebuilds the bidirectional links between the annotations and this workspace file after deserialization.

Serialized Fields

name

java.lang.String name
The absolute filename of this file.



Copyright © 2008. All Rights Reserved.