@ExportedBean public abstract class AbstractReport extends hudson.tasks.test.TabulatedResult implements hudson.model.ModelObject, Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
name |
protected AbstractReport |
parent |
protected hudson.model.Run<?,?> |
run |
Constructor and Description |
---|
AbstractReport(String name) |
Modifier and Type | Method and Description |
---|---|
hudson.tasks.test.TestResult |
findCorrespondingResult(String id) |
long |
getAge()
Gets the age of a result.
|
String |
getDisplayName() |
Object |
getDynamic(String token,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Retrieving dynamic report object by request uri token.
|
String |
getName() |
AbstractReport |
getParent() |
hudson.tasks.test.AbstractTestResultAction |
getParentAction()
|
hudson.model.Run<?,?> |
getRun() |
hudson.tasks.test.AbstractTestResultAction |
getTestResultAction()
Explicit override here to ensure that when we are building DevTest reports,
we are only working with DevTest results.
|
String |
getTitle() |
String |
getUpUrl() |
void |
setParent(AbstractReport parent) |
void |
setRun(hudson.model.Run<?,?> run) |
getChildren, getChildTitle, hasChildren
annotate, getBuildResult, getDuration, getErrorDetails, getErrorStackTrace, getFailCount, getFailedSince, getFailedSinceRun, getFailedTests, getPassCount, getPassedTests, getPreviousResult, getResultInRun, getSkipCount, getSkippedTests, getStderr, getStdout, isPassed, setParent, setParentAction, tally, toPrettyString
doSubmitDescription, getApi, getDescription, getDurationString, getFullDisplayName, getFullName, getHistory, getId, getRelativePathFrom, getResultInBuild, getSafeName, getSearchUrl, getTestAction, getTestActions, getTestResult, getTopLevelTestResult, getTotalCount, getUrl, safe, setDescription, uniquifyName
protected hudson.model.Run<?,?> run
protected final String name
protected AbstractReport parent
public AbstractReport(String name)
@Exported(visibility=999) public String getName()
getName
in class hudson.tasks.test.TestObject
public AbstractReport getParent()
getParent
in class hudson.tasks.test.TestObject
public void setParent(AbstractReport parent)
public hudson.model.Run<?,?> getRun()
getRun
in class hudson.tasks.junit.TestObject
public void setRun(hudson.model.Run<?,?> run)
public String getTitle()
getTitle
in class hudson.tasks.test.TestResult
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
public String getUpUrl()
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
getDynamic
in class hudson.tasks.test.TestObject
public hudson.tasks.test.AbstractTestResultAction getTestResultAction()
getTestResultAction
in class hudson.tasks.test.TestObject
public hudson.tasks.test.AbstractTestResultAction getParentAction()
getParentAction
in class hudson.tasks.test.TestResult
public hudson.tasks.test.TestResult findCorrespondingResult(String id)
findCorrespondingResult
in class hudson.tasks.test.TestObject
public long getAge()
Copyright © 2016–2022 CA Technologies. All rights reserved.