org.hudsonci.rest.model.build
Class TestCaseDTO

java.lang.Object
  extended by org.hudsonci.rest.model.build.TestCaseDTO

public class TestCaseDTO
extends Object

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

name

protected String name

className

protected String className

duration

protected float duration

errorStackTrace

protected String errorStackTrace

errorDetails

protected String errorDetails

status

protected TestCaseStatusDTO status

age

protected int age
Constructor Detail

TestCaseDTO

public TestCaseDTO()
Method Detail

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getClassName

public String getClassName()
Gets the value of the className property.

Returns:
possible object is String

setClassName

public void setClassName(String value)
Sets the value of the className property.

Parameters:
value - allowed object is String

getDuration

public float getDuration()
Gets the value of the duration property.


setDuration

public void setDuration(float value)
Sets the value of the duration property.


getErrorStackTrace

public String getErrorStackTrace()
Gets the value of the errorStackTrace property.

Returns:
possible object is String

setErrorStackTrace

public void setErrorStackTrace(String value)
Sets the value of the errorStackTrace property.

Parameters:
value - allowed object is String

getErrorDetails

public String getErrorDetails()
Gets the value of the errorDetails property.

Returns:
possible object is String

setErrorDetails

public void setErrorDetails(String value)
Sets the value of the errorDetails property.

Parameters:
value - allowed object is String

getStatus

public TestCaseStatusDTO getStatus()
Gets the value of the status property.

Returns:
possible object is TestCaseStatusDTO

setStatus

public void setStatus(TestCaseStatusDTO value)
Sets the value of the status property.

Parameters:
value - allowed object is TestCaseStatusDTO

getAge

public int getAge()
Gets the value of the age property.


setAge

public void setAge(int value)
Sets the value of the age property.


withName

public TestCaseDTO withName(String value)

withClassName

public TestCaseDTO withClassName(String value)

withDuration

public TestCaseDTO withDuration(float value)

withErrorStackTrace

public TestCaseDTO withErrorStackTrace(String value)

withErrorDetails

public TestCaseDTO withErrorDetails(String value)

withStatus

public TestCaseDTO withStatus(TestCaseStatusDTO value)

withAge

public TestCaseDTO withAge(int value)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2004-2011 Hudson. All Rights Reserved.