|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthudson.tasks.test.AbstractTestResultAction
hudson.tasks.test.AggregatedTestResultPublisher.TestResultAction
public static final class AggregatedTestResultPublisher.TestResultAction
Action that serves the aggregated record. TODO: persist some information so that even when some of the individuals are gone, we can still retain some useful information.
Nested Class Summary | |
---|---|
static class |
AggregatedTestResultPublisher.TestResultAction.RunListenerImpl
|
Field Summary |
---|
Fields inherited from class hudson.tasks.test.AbstractTestResultAction |
---|
owner |
Constructor Summary | |
---|---|
AggregatedTestResultPublisher.TestResultAction(String jobs,
boolean includeFailedBuilds,
AbstractBuild<?,?> owner)
|
Method Summary | |
---|---|
protected String |
getDescription(TestObject object)
Deprecated. so that IDE warns you if you accidentally try to call it. |
List<AbstractProject> |
getDidntRun()
Gets the downstream projects that haven't run yet, but expected to produce test results. |
String |
getDisplayName()
Gets the string to be displayed. |
int |
getFailCount()
Gets the number of failed tests. |
boolean |
getHasFingerprintAction()
|
boolean |
getIncludeFailedBuilds()
|
List<AbstractTestResultAction> |
getIndividuals()
Returns the individual test results that are aggregated. |
Collection<AbstractProject> |
getJobs()
Gets the jobs to be monitored. |
List<AbstractProject> |
getNoFingerprints()
Gets the downstream projects that have available test results, but do not appear to have fingerprinting enabled. |
Object |
getResult()
Returns the object that represents the actual test result. |
int |
getTotalCount()
Gets the total number of tests. |
String |
getUrlName()
Gets the URL path name. |
protected void |
setDescription(TestObject object,
String description)
Deprecated. so that IDE warns you if you accidentally try to call it. |
Methods inherited from class hudson.tasks.test.AbstractTestResultAction |
---|
doGraph, doGraphMap, findCorrespondingResult, findPreviousCorresponding, getApi, getBuildHealth, getFailedTests, getFailureDiffString, getIconFileName, getPreviousResult, getSkipCount, getTestResultPath, readResolve |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AggregatedTestResultPublisher.TestResultAction(String jobs, boolean includeFailedBuilds, AbstractBuild<?,?> owner)
Method Detail |
---|
public Collection<AbstractProject> getJobs()
public boolean getIncludeFailedBuilds()
public int getFailCount()
AbstractTestResultAction
getFailCount
in class AbstractTestResultAction
public int getTotalCount()
AbstractTestResultAction
getTotalCount
in class AbstractTestResultAction
public Object getResult()
AbstractTestResultAction
AbstractTestResultAction
in between.
If such a concept doesn't make sense for a particular subtype, return this.
getResult
in class AbstractTestResultAction
protected String getDescription(TestObject object)
TestObject
s point to their respective real owners, not 'this'),
so this method should be never invoked.
getDescription
in class AbstractTestResultAction
TestObject.getDescription()
protected void setDescription(TestObject object, String description)
getDescription(TestObject)
setDescription
in class AbstractTestResultAction
public List<AbstractTestResultAction> getIndividuals()
public List<AbstractProject> getDidntRun()
public List<AbstractProject> getNoFingerprints()
public boolean getHasFingerprintAction()
public String getDisplayName()
Action
getDisplayName
in interface Action
getDisplayName
in interface ModelObject
getDisplayName
in class AbstractTestResultAction
public String getUrlName()
Action
tions For example, if this method returns "xyz", and if the parent object (that this action is associated with) is bound to /foo/bar/zot, then this action object will be exposed to /foo/bar/zot/xyz.
This method should return a string that's unique among other Action
s.
The returned string can be an absolute URL, like "http://www.sun.com/", which is useful for directly connecting to external systems.
If the returned string starts with '/', like '/foo', then it's assumed to be relative to the context path of the Jenkins webapp.
getUrlName
in interface Action
getUrlName
in class AbstractTestResultAction
Action.getIconFileName()
.Functions.getActionUrl(String, Action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |