S
- The derived type of TestCollection
(the same design pattern as you seen in Enum
)public abstract class TestObject<S extends TestObject<S>> extends Object implements hudson.model.ModelObject
Setter methods are for Digester, and once created the test objects are immutable.
Modifier and Type | Method and Description |
---|---|
void |
addAttribute(String name,
String value) |
int |
getAge()
Gets the number of consecutive builds (including this)
that this test case has been failing.
|
String |
getDescription() |
String |
getDisplayName() |
abstract int |
getFailCount() |
int |
getFailedSince()
If this test failed, then return the build number
when this test started failing.
|
String |
getId() |
String |
getName() |
hudson.model.AbstractBuild |
getOwner() |
S |
getPreviousResult()
Gets the counter part of this
TestObject in the previous run. |
abstract int |
getSkippedCount() |
Status |
getStatus() |
String |
getStatusMessage() |
abstract int |
getTotalCount() |
void |
setDescription(String description) |
void |
setId(String id) |
void |
setName(String name) |
void |
setStatusString(String status) |
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getDescription()
public void setDescription(String description)
public final String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
public hudson.model.AbstractBuild getOwner()
public int getFailedSince()
public int getAge()
public S getPreviousResult()
TestObject
in the previous run.public Status getStatus()
public void setStatusString(String status)
public String getStatusMessage()
public abstract int getTotalCount()
public abstract int getFailCount()
public abstract int getSkippedCount()
Copyright © 2004-2015. All Rights Reserved.