|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.build.TestCaseDTO
public class TestCaseDTO
Java class for testCase complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="testCase">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="className" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="duration" type="{http://www.w3.org/2001/XMLSchema}float"/>
<element name="errorStackTrace" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="errorDetails" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="status" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}testCaseStatus"/>
<element name="age" type="{http://www.w3.org/2001/XMLSchema}int"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected int |
age
|
protected String |
className
|
protected float |
duration
|
protected String |
errorDetails
|
protected String |
errorStackTrace
|
protected String |
name
|
protected TestCaseStatusDTO |
status
|
| Constructor Summary | |
|---|---|
TestCaseDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
int |
getAge()
Gets the value of the age property. |
String |
getClassName()
Gets the value of the className property. |
float |
getDuration()
Gets the value of the duration property. |
String |
getErrorDetails()
Gets the value of the errorDetails property. |
String |
getErrorStackTrace()
Gets the value of the errorStackTrace property. |
String |
getName()
Gets the value of the name property. |
TestCaseStatusDTO |
getStatus()
Gets the value of the status property. |
int |
hashCode()
|
void |
setAge(int value)
Sets the value of the age property. |
void |
setClassName(String value)
Sets the value of the className property. |
void |
setDuration(float value)
Sets the value of the duration property. |
void |
setErrorDetails(String value)
Sets the value of the errorDetails property. |
void |
setErrorStackTrace(String value)
Sets the value of the errorStackTrace property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setStatus(TestCaseStatusDTO value)
Sets the value of the status property. |
TestCaseDTO |
withAge(int value)
|
TestCaseDTO |
withClassName(String value)
|
TestCaseDTO |
withDuration(float value)
|
TestCaseDTO |
withErrorDetails(String value)
|
TestCaseDTO |
withErrorStackTrace(String value)
|
TestCaseDTO |
withName(String value)
|
TestCaseDTO |
withStatus(TestCaseStatusDTO value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String className
protected float duration
protected String errorStackTrace
protected String errorDetails
protected TestCaseStatusDTO status
protected int age
| Constructor Detail |
|---|
public TestCaseDTO()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getClassName()
Stringpublic void setClassName(String value)
value - allowed object is
Stringpublic float getDuration()
public void setDuration(float value)
public String getErrorStackTrace()
Stringpublic void setErrorStackTrace(String value)
value - allowed object is
Stringpublic String getErrorDetails()
Stringpublic void setErrorDetails(String value)
value - allowed object is
Stringpublic TestCaseStatusDTO getStatus()
TestCaseStatusDTOpublic void setStatus(TestCaseStatusDTO value)
value - allowed object is
TestCaseStatusDTOpublic int getAge()
public void setAge(int value)
public TestCaseDTO withName(String value)
public TestCaseDTO withClassName(String value)
public TestCaseDTO withDuration(float value)
public TestCaseDTO withErrorStackTrace(String value)
public TestCaseDTO withErrorDetails(String value)
public TestCaseDTO withStatus(TestCaseStatusDTO value)
public TestCaseDTO withAge(int value)
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 | |||||||||