hudson.plugins.tasks
Class TasksMavenResult

java.lang.Object
  extended by hudson.plugins.tasks.util.BuildResult
      extended by hudson.plugins.tasks.TasksResult
          extended by hudson.plugins.tasks.TasksMavenResult
All Implemented Interfaces:
hudson.model.ModelObject, AnnotationProvider, java.io.Serializable

public class TasksMavenResult
extends TasksResult

Represents the aggregated results of the PMD analysis in m2 jobs.

Author:
Ulli Hafner
See Also:
Serialized Form

Field Summary
 
Fields inherited from class hudson.plugins.tasks.util.BuildResult
high, low, normal, XSTREAM
 
Constructor Summary
TasksMavenResult(hudson.model.AbstractBuild<?,?> build, java.lang.String defaultEncoding, TasksParserResult result, BuildResult previous, java.lang.String highTags, java.lang.String normalTags, java.lang.String lowTags)
          Creates a new instance of TasksMavenResult.
TasksMavenResult(hudson.model.AbstractBuild<?,?> build, java.lang.String defaultEncoding, TasksParserResult result, java.lang.String highTags, java.lang.String normalTags, java.lang.String lowTags)
          Creates a new instance of TasksMavenResult.
 
Method Summary
protected  java.lang.Class<? extends ResultAction<? extends BuildResult>> getResultActionType()
          Returns the actual type of the associated result action.
 
Methods inherited from class hudson.plugins.tasks.TasksResult
getDetails, getDisplayName, getDynamic, getNumberOfFiles, getPackageCategoryName, getPriorities, getSerializationFileName, getSummary, getTags
 
Methods inherited from class hudson.plugins.tasks.util.BuildResult
getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getErrors, getFixedWarnings, getHighScoreGap, getModules, getNewWarnings, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPreviousResult, getProject, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewZeroWarningsHighScore, readResolve, setHighWarnings, setLowWarnings, setNormalWarnings, setWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TasksMavenResult

public TasksMavenResult(hudson.model.AbstractBuild<?,?> build,
                        java.lang.String defaultEncoding,
                        TasksParserResult result,
                        java.lang.String highTags,
                        java.lang.String normalTags,
                        java.lang.String lowTags)
Creates a new instance of TasksMavenResult.

Parameters:
build - the current build as owner of this action
defaultEncoding - the default encoding to be used when reading and parsing files
result - the parsed annotations
highTags - tag identifiers indicating high priority
normalTags - tag identifiers indicating normal priority
lowTags - tag identifiers indicating low priority

TasksMavenResult

public TasksMavenResult(hudson.model.AbstractBuild<?,?> build,
                        java.lang.String defaultEncoding,
                        TasksParserResult result,
                        BuildResult previous,
                        java.lang.String highTags,
                        java.lang.String normalTags,
                        java.lang.String lowTags)
Creates a new instance of TasksMavenResult.

Parameters:
build - the current build as owner of this action
defaultEncoding - the default encoding to be used when reading and parsing files
result - the parsed FindBugs result
previous - the previous result of open tasks
highTags - tag identifiers indicating high priority
normalTags - tag identifiers indicating normal priority
lowTags - tag identifiers indicating low priority
Method Detail

getResultActionType

protected java.lang.Class<? extends ResultAction<? extends BuildResult>> getResultActionType()
Returns the actual type of the associated result action.

Overrides:
getResultActionType in class TasksResult
Returns:
the actual type of the associated result action


Copyright © 2009. All Rights Reserved.