|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.build.TestsDTO
public class TestsDTO
Java class for tests complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tests">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="total" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="failed" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="skipped" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="suite" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}testSuite" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected int |
failed
|
protected int |
skipped
|
protected List<TestSuiteDTO> |
suites
|
protected int |
total
|
| Constructor Summary | |
|---|---|
TestsDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getFailed()
Gets the value of the failed property. |
int |
getSkipped()
Gets the value of the skipped property. |
List<TestSuiteDTO> |
getSuites()
Gets the value of the suites property. |
int |
getTotal()
Gets the value of the total property. |
int |
hashCode()
|
void |
setFailed(int value)
Sets the value of the failed property. |
void |
setSkipped(int value)
Sets the value of the skipped property. |
void |
setTotal(int value)
Sets the value of the total property. |
TestsDTO |
withFailed(int value)
|
TestsDTO |
withSkipped(int value)
|
TestsDTO |
withSuites(Collection<TestSuiteDTO> values)
|
TestsDTO |
withSuites(TestSuiteDTO... values)
|
TestsDTO |
withTotal(int value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int total
protected int failed
protected int skipped
protected List<TestSuiteDTO> suites
| Constructor Detail |
|---|
public TestsDTO()
| Method Detail |
|---|
public int getTotal()
public void setTotal(int value)
public int getFailed()
public void setFailed(int value)
public int getSkipped()
public void setSkipped(int value)
public List<TestSuiteDTO> getSuites()
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 suites property.
For example, to add a new item, do as follows:
getSuites().add(newItem);
Objects of the following type(s) are allowed in the list
TestSuiteDTO
public TestsDTO withTotal(int value)
public TestsDTO withFailed(int value)
public TestsDTO withSkipped(int value)
public TestsDTO withSuites(TestSuiteDTO... values)
public TestsDTO withSuites(Collection<TestSuiteDTO> 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 | |||||||||