|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.build.TestSuiteDTO
public class TestSuiteDTO
Java class for testSuite complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="testSuite">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="timeStamp" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="duration" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="case" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}testCase" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<TestCaseDTO> |
cases
|
protected float |
duration
|
protected String |
name
|
protected String |
timeStamp
|
| Constructor Summary | |
|---|---|
TestSuiteDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<TestCaseDTO> |
getCases()
Gets the value of the cases property. |
float |
getDuration()
Gets the value of the duration property. |
String |
getName()
Gets the value of the name property. |
String |
getTimeStamp()
Gets the value of the timeStamp property. |
int |
hashCode()
|
void |
setDuration(float value)
Sets the value of the duration property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setTimeStamp(String value)
Sets the value of the timeStamp property. |
TestSuiteDTO |
withCases(Collection<TestCaseDTO> values)
|
TestSuiteDTO |
withCases(TestCaseDTO... values)
|
TestSuiteDTO |
withDuration(float value)
|
TestSuiteDTO |
withName(String value)
|
TestSuiteDTO |
withTimeStamp(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String timeStamp
protected float duration
protected List<TestCaseDTO> cases
| Constructor Detail |
|---|
public TestSuiteDTO()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getTimeStamp()
Stringpublic void setTimeStamp(String value)
value - allowed object is
Stringpublic float getDuration()
public void setDuration(float value)
public List<TestCaseDTO> getCases()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the cases property.
For example, to add a new item, do as follows:
getCases().add(newItem);
Objects of the following type(s) are allowed in the list
TestCaseDTO
public TestSuiteDTO withName(String value)
public TestSuiteDTO withTimeStamp(String value)
public TestSuiteDTO withDuration(float value)
public TestSuiteDTO withCases(TestCaseDTO... values)
public TestSuiteDTO withCases(Collection<TestCaseDTO> values)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||