org.hudsonci.maven.model.state
Class BuildSummaryDTO

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

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

Java class for buildSummary complex type.

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

 <complexType name="buildSummary">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="failureCause" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/common}throwable"/>
       </sequence>
       <attribute name="result" use="required" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}buildResult" />
       <attribute name="duration" type="{http://www.w3.org/2001/XMLSchema}long" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  Long duration
           
protected  ThrowableDTO failureCause
           
protected  BuildResultDTO result
           
 
Constructor Summary
BuildSummaryDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 Long getDuration()
          Gets the value of the duration property.
 ThrowableDTO getFailureCause()
          Gets the value of the failureCause property.
 BuildResultDTO getResult()
          Gets the value of the result property.
 int hashCode()
           
 void setDuration(Long value)
          Sets the value of the duration property.
 void setFailureCause(ThrowableDTO value)
          Sets the value of the failureCause property.
 void setResult(BuildResultDTO value)
          Sets the value of the result property.
 BuildSummaryDTO withDuration(Long value)
           
 BuildSummaryDTO withFailureCause(ThrowableDTO value)
           
 BuildSummaryDTO withResult(BuildResultDTO value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

failureCause

protected ThrowableDTO failureCause

result

@XStreamAsAttribute
protected BuildResultDTO result

duration

@XStreamAsAttribute
protected Long duration
Constructor Detail

BuildSummaryDTO

public BuildSummaryDTO()
Method Detail

getFailureCause

public ThrowableDTO getFailureCause()
Gets the value of the failureCause property.

Returns:
possible object is ThrowableDTO

setFailureCause

public void setFailureCause(ThrowableDTO value)
Sets the value of the failureCause property.

Parameters:
value - allowed object is ThrowableDTO

getResult

public BuildResultDTO getResult()
Gets the value of the result property.

Returns:
possible object is BuildResultDTO

setResult

public void setResult(BuildResultDTO value)
Sets the value of the result property.

Parameters:
value - allowed object is BuildResultDTO

getDuration

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

Returns:
possible object is Long

setDuration

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

Parameters:
value - allowed object is Long

withFailureCause

public BuildSummaryDTO withFailureCause(ThrowableDTO value)

withResult

public BuildSummaryDTO withResult(BuildResultDTO value)

withDuration

public BuildSummaryDTO withDuration(Long 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.