Class BaseResult
java.lang.Object
hudson.model.AbstractModelObject
hudson.tasks.junit.TestObject
hudson.tasks.test.TestObject
hudson.tasks.test.TestResult
hudson.tasks.test.TabulatedResult
com.jenkins.testresultsaggregator.data.BaseResult
- All Implemented Interfaces:
ModelObject
,SearchableModelObject
,SearchItem
,Serializable
- Direct Known Subclasses:
Aggregated
@ExportedBean
public abstract class BaseResult
extends hudson.tasks.test.TabulatedResult
implements ModelObject, Serializable
Base class that takes care of all the common functionality of the different kinds of test results.
- See Also:
-
Field Summary
Fields inherited from class hudson.tasks.test.TabulatedResult
testsByBlock
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhudson.tasks.test.TestResult
long
getAge()
getDynamic
(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) getName()
hudson.tasks.test.AbstractTestResultAction
Run<?,
?> getRun()
hudson.tasks.test.AbstractTestResultAction
getTitle()
getUpUrl()
void
setParent
(BaseResult parent) void
Methods inherited from class hudson.tasks.test.TabulatedResult
blockToTestResult, getChildren, getChildTitle, getPipelineBlockWithTests, hasChildren, hasMultipleBlocks, populateBlocks
Methods inherited from class hudson.tasks.test.TestResult
annotate, getBuildResult, getDuration, getErrorDetails, getErrorStackTrace, getFailCount, getFailedSince, getFailedSinceRun, getFailedTests, getPassCount, getPassedTests, getPreviousResult, getResultInRun, getSkipCount, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, tally, toPrettyString
Methods inherited from class hudson.tasks.test.TestObject
doSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName
Methods inherited from class hudson.tasks.junit.TestObject
getOwner
Methods inherited from class hudson.model.AbstractModelObject
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendError
-
Field Details
-
run
-
name
-
parent
-
-
Constructor Details
-
BaseResult
-
-
Method Details
-
getName
- Overrides:
getName
in classhudson.tasks.test.TestObject
-
getParent
- Specified by:
getParent
in classhudson.tasks.test.TestObject
-
setParent
-
getRun
- Overrides:
getRun
in classhudson.tasks.junit.TestObject
-
setRun
-
getTitle
- Overrides:
getTitle
in classhudson.tasks.test.TestResult
-
getDisplayName
- Specified by:
getDisplayName
in interfaceModelObject
-
getUpUrl
-
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) - Overrides:
getDynamic
in classhudson.tasks.test.TestObject
-
getTestResultAction
public hudson.tasks.test.AbstractTestResultAction getTestResultAction()- Overrides:
getTestResultAction
in classhudson.tasks.test.TestObject
-
getParentAction
public hudson.tasks.test.AbstractTestResultAction getParentAction()- Overrides:
getParentAction
in classhudson.tasks.test.TestResult
-
findCorrespondingResult
- Specified by:
findCorrespondingResult
in classhudson.tasks.test.TestObject
-
getAge
public long getAge()
-