org.hudsonci.maven.model
Class ThrowableDTO

java.lang.Object
  extended by org.hudsonci.maven.model.ThrowableDTO
All Implemented Interfaces:
Serializable

@Generated(value="XJC hudson-jaxb-ri-2.1-2",
           date="2011-12-06T19:15:37")
public class ThrowableDTO
extends Object
implements Serializable

Java class for throwable complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="throwable">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="stackTrace" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}stackTrace" minOccurs="0"/>
         <element name="cause" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}throwable" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  ThrowableDTO cause
           
protected  String message
           
protected  StackTraceDTO stackTrace
           
protected  String type
           
 
Constructor Summary
ThrowableDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 ThrowableDTO getCause()
          Gets the value of the cause property.
 String getMessage()
          Gets the value of the message property.
 StackTraceDTO getStackTrace()
          Gets the value of the stackTrace property.
 String getType()
          Gets the value of the type property.
 int hashCode()
           
 void setCause(ThrowableDTO value)
          Sets the value of the cause property.
 void setMessage(String value)
          Sets the value of the message property.
 void setStackTrace(StackTraceDTO value)
          Sets the value of the stackTrace property.
 void setType(String value)
          Sets the value of the type property.
 ThrowableDTO withCause(ThrowableDTO value)
           
 ThrowableDTO withMessage(String value)
           
 ThrowableDTO withStackTrace(StackTraceDTO value)
           
 ThrowableDTO withType(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected String message

stackTrace

protected StackTraceDTO stackTrace

cause

protected ThrowableDTO cause

type

@XStreamAsAttribute
protected String type
Constructor Detail

ThrowableDTO

public ThrowableDTO()
Method Detail

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getStackTrace

public StackTraceDTO getStackTrace()
Gets the value of the stackTrace property.

Returns:
possible object is StackTraceDTO

setStackTrace

public void setStackTrace(StackTraceDTO value)
Sets the value of the stackTrace property.

Parameters:
value - allowed object is StackTraceDTO

getCause

public ThrowableDTO getCause()
Gets the value of the cause property.

Returns:
possible object is ThrowableDTO

setCause

public void setCause(ThrowableDTO value)
Sets the value of the cause property.

Parameters:
value - allowed object is ThrowableDTO

getType

public String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

withMessage

public ThrowableDTO withMessage(String value)

withStackTrace

public ThrowableDTO withStackTrace(StackTraceDTO value)

withCause

public ThrowableDTO withCause(ThrowableDTO value)

withType

public ThrowableDTO withType(String 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.