|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.analysis.core.BuildResult
hudson.plugins.tasks.TasksResult
public class TasksResult
Represents the results of the task scanner. One instance of this class is persisted for each build via an XML file.
| Field Summary |
|---|
| Fields inherited from class hudson.plugins.analysis.core.BuildResult |
|---|
high, low, normal |
| Constructor Summary | |
|---|---|
|
TasksResult(hudson.model.AbstractBuild<?,?> build,
String defaultEncoding,
TasksParserResult result,
String highTags,
String normalTags,
String lowTags)
Creates a new instance of TasksResult. |
protected |
TasksResult(hudson.model.AbstractBuild<?,?> build,
String defaultEncoding,
TasksParserResult result,
String highTags,
String normalTags,
String lowTags,
Class<? extends hudson.plugins.analysis.core.ResultAction<TasksResult>> actionType)
Creates a new instance of TasksResult. |
| Method Summary | |
|---|---|
protected void |
configure(com.thoughtworks.xstream.XStream xstream)
|
protected String |
createDeltaMessage()
|
String |
getDisplayName()
Returns the display name (bread crumb name) of this result. |
int |
getNumberOfFiles()
Returns the number of scanned files in this project. |
String |
getPackageCategoryName()
Returns the package category name for the scanned files. |
hudson.plugins.analysis.util.model.Priority[] |
getPriorities()
|
protected Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> |
getResultActionType()
|
protected String |
getSerializationFileName()
|
String |
getSummary()
|
String |
getTags(hudson.plugins.analysis.util.model.Priority priority)
Returns the tags for the specified priority. |
| Methods inherited from class hudson.plugins.analysis.core.BuildResult |
|---|
canUseDeltaValues, createDefaultDeltaMessage, createDefaultSummary, createHistory, createUrl, evaluateStatus, evaluateStatus, getAnnotation, getAnnotation, getAnnotations, getAnnotations, getAnnotations, getApi, getContainer, getDataFile, getDays, getDefaultEncoding, getDelta, getDetails, getDynamic, getErrors, getFixedWarnings, getHeader, getHighDelta, getHighScoreGap, getHistory, getLowDelta, getModules, getNewWarnings, getNormalDelta, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfAnnotations, getNumberOfFixedWarnings, getNumberOfModules, getNumberOfNewWarnings, getNumberOfWarnings, getOwner, getPluginResult, getPreviousResult, getProject, getReason, getResultIcon, getSuccessfulHighScore, getSuccessfulHighScoreGap, getSuccessfulSinceBuild, getSuccessfulSinceDate, getThresholds, getWarningsDelta, getZeroWarningsHighScore, getZeroWarningsSinceBuild, getZeroWarningsSinceDate, hasAnnotations, hasAnnotations, hasAnnotations, hasError, hasNoAnnotations, hasNoAnnotations, hasNoAnnotations, hasPreviousResult, isCurrent, isNewSuccessfulHighScore, isNewZeroWarningsHighScore, isSuccessful, isSuccessfulTouched, readResolve, serializeAnnotations, 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 |
|---|
public TasksResult(hudson.model.AbstractBuild<?,?> build,
String defaultEncoding,
TasksParserResult result,
String highTags,
String normalTags,
String lowTags)
TasksResult.
build - the current build as owner of this actiondefaultEncoding - the default encoding to be used when reading and parsing filesresult - the parsed annotationshighTags - tag identifiers indicating high prioritynormalTags - tag identifiers indicating normal prioritylowTags - tag identifiers indicating low priority
protected TasksResult(hudson.model.AbstractBuild<?,?> build,
String defaultEncoding,
TasksParserResult result,
String highTags,
String normalTags,
String lowTags,
Class<? extends hudson.plugins.analysis.core.ResultAction<TasksResult>> actionType)
TasksResult.
build - the current build as owner of this actiondefaultEncoding - the default encoding to be used when reading and parsing filesresult - the parsed annotationshighTags - tag identifiers indicating high prioritynormalTags - tag identifiers indicating normal prioritylowTags - tag identifiers indicating low priorityactionType - the type of the result action| Method Detail |
|---|
protected void configure(com.thoughtworks.xstream.XStream xstream)
configure in class hudson.plugins.analysis.core.BuildResultpublic String getSummary()
getSummary in class hudson.plugins.analysis.core.BuildResultprotected String createDeltaMessage()
createDeltaMessage in class hudson.plugins.analysis.core.BuildResultpublic int getNumberOfFiles()
public String getDisplayName()
protected String getSerializationFileName()
getSerializationFileName in class hudson.plugins.analysis.core.BuildResultpublic hudson.plugins.analysis.util.model.Priority[] getPriorities()
getPriorities in class hudson.plugins.analysis.core.BuildResultpublic final String getTags(hudson.plugins.analysis.util.model.Priority priority)
priority - the priority
public String getPackageCategoryName()
protected Class<? extends hudson.plugins.analysis.core.ResultAction<? extends hudson.plugins.analysis.core.BuildResult>> getResultActionType()
getResultActionType in class hudson.plugins.analysis.core.BuildResult
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||