org.jenkinsci.plugins.android_lint
Class LintResult

java.lang.Object
  extended by hudson.plugins.analysis.core.BuildResult
      extended by org.jenkinsci.plugins.android_lint.LintResult
All Implemented Interfaces:
hudson.model.ModelObject, hudson.plugins.analysis.util.model.AnnotationProvider, Serializable
Direct Known Subclasses:
LintReporterResult

public class LintResult
extends hudson.plugins.analysis.core.BuildResult

Represents the results of a Lint analysis.

One instance of this class is persisted for each build via an XML file.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class hudson.plugins.analysis.core.BuildResult
high, low, normal
 
Constructor Summary
LintResult(hudson.model.AbstractBuild<?,?> build, String defaultEncoding, hudson.plugins.analysis.core.ParserResult result)
          Creates a new instance of LintResult.
LintResult(hudson.model.AbstractBuild<?,?> build, String defaultEncoding, hudson.plugins.analysis.core.ParserResult result, hudson.plugins.analysis.core.BuildHistory history)
          Creates a new instance of LintResult.
 
Method Summary
protected  void configure(com.thoughtworks.xstream.XStream xstream)
           
protected  String createDeltaMessage()
           
 String getDisplayName()
           
protected  Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
          Returns the actual type of the associated result action.
protected  String getSerializationFileName()
           
 String getSummary()
          Returns a summary message for the summary.jelly file.
 
Methods inherited from class hudson.plugins.analysis.core.BuildResult
canUseDeltaValues, createHighScoreMessage, createListItem, createNoWarningsMessage, createSuccessfulHighScoreMessage, evaluateStatus, evaluateStatus, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getDetails, getDynamic, getErrors, getFixedWarnings, getHighDelta, getHighScoreGap, getLowDelta, getModules, getNewWarnings, getNormalDelta, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPluginResult, getPreviousResult, getPriorities, getProject, getResultIcon, getSuccessfulHighScore, getSuccessfulHighScoreGap, getSuccessfulSinceBuild, getSuccessfulSinceDate, getThresholds, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewSuccessfulHighScore, isNewZeroWarningsHighScore, isSuccessful, isSuccessfulTouched, readResolve, setHighWarnings, setLowWarnings, setNormalWarnings, setResult, setWarnings, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LintResult

public LintResult(hudson.model.AbstractBuild<?,?> build,
                  String defaultEncoding,
                  hudson.plugins.analysis.core.ParserResult result)
Creates a new instance of LintResult.

Parameters:
build - The current build as owner of this action.
defaultEncoding - The default encoding to be used when reading files.
result - The parsed result with all annotations.

LintResult

public LintResult(hudson.model.AbstractBuild<?,?> build,
                  String defaultEncoding,
                  hudson.plugins.analysis.core.ParserResult result,
                  hudson.plugins.analysis.core.BuildHistory history)
Creates a new instance of LintResult.

Parameters:
build - The current build as owner of this action.
defaultEncoding - The default encoding to be used when reading files.
result - The parsed result with all annotations.
history - Build result history for this plugin.
Method Detail

configure

protected void configure(com.thoughtworks.xstream.XStream xstream)
Overrides:
configure in class hudson.plugins.analysis.core.BuildResult

getSummary

public String getSummary()
Returns a summary message for the summary.jelly file.

Returns:
the summary message

createDeltaMessage

protected String createDeltaMessage()
Overrides:
createDeltaMessage in class hudson.plugins.analysis.core.BuildResult

getSerializationFileName

protected String getSerializationFileName()
Specified by:
getSerializationFileName in class hudson.plugins.analysis.core.BuildResult

getDisplayName

public String getDisplayName()

getResultActionType

protected Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
Returns the actual type of the associated result action.

Specified by:
getResultActionType in class hudson.plugins.analysis.core.BuildResult
Returns:
the actual type of the associated result action


Copyright © 2004-2012. All Rights Reserved.