public abstract class RobotTestObject extends hudson.model.AbstractModelObject implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected long |
duration |
| Constructor and Description |
|---|
RobotTestObject() |
| Modifier and Type | Method and Description |
|---|---|
String |
getDuplicateSafeName() |
long |
getDuration()
Get duration of this testobject run
|
String |
getDurationDiff(RobotTestObject comparable)
Get difference in of duration to given test object
|
abstract int |
getFailed() |
String |
getHumanReadableDuration()
Wrapper for calling formatting from jelly
|
abstract String |
getName() |
protected String |
getOldFormatName()
The name format used in case hashmap was changed in commit
59c8eec3e16f28baf1288848fccbac228bbe4748, July 2013.
|
hudson.model.AbstractBuild<?,?> |
getOwner()
Return the build that this result belongs to.
|
abstract RobotTestObject |
getParent() |
RobotBuildAction |
getParentAction() |
abstract int |
getPassed() |
abstract RobotTestObject |
getPreviousResult() |
String |
getRelativeId(RobotTestObject thisObject)
Get path in tree relative to given TestObject
|
String |
getRelativePackageName(RobotTestObject thisObject)
Generates the full packagename
|
RobotTestObject |
getResultInBuild(hudson.model.AbstractBuild<?,?> build)
Get the corresponding result object from a given build
|
protected boolean |
isNeedToGenerate(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Figure out if there's been changes since last request.
|
void |
setDuplicateSafeName(String name) |
void |
setParentAction(RobotBuildAction parentAction) |
String |
urlEncode(String name) |
getSearch, getSearchIndex, getSearchName, makeSearchIndex, requirePOST, sendError, sendError, sendError, sendError, sendErrorpublic RobotBuildAction getParentAction()
public void setParentAction(RobotBuildAction parentAction)
public abstract String getName()
public abstract RobotTestObject getParent()
public String getRelativePackageName(RobotTestObject thisObject)
public String getRelativeId(RobotTestObject thisObject)
public hudson.model.AbstractBuild<?,?> getOwner()
public RobotTestObject getResultInBuild(hudson.model.AbstractBuild<?,?> build)
build - public String getDuplicateSafeName()
public void setDuplicateSafeName(String name)
protected String getOldFormatName()
protected boolean isNeedToGenerate(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws IOException
req - rsp - IOExceptionpublic long getDuration()
public String getHumanReadableDuration()
public String getDurationDiff(RobotTestObject comparable)
comparable - another testobject which to compare topublic abstract RobotTestObject getPreviousResult()
public abstract int getFailed()
public abstract int getPassed()
Copyright © 2004-2014. All Rights Reserved.