org.hudsonci.rest.model.build
Class BuildsDTO

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

public class BuildsDTO
extends Object

Java class for builds complex type.

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

 <complexType name="builds">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="build" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}build" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<BuildDTO> builds
           
 
Constructor Summary
BuildsDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<BuildDTO> getBuilds()
          Gets the value of the builds property.
 int hashCode()
           
 BuildsDTO withBuilds(BuildDTO... values)
           
 BuildsDTO withBuilds(Collection<BuildDTO> values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builds

protected List<BuildDTO> builds
Constructor Detail

BuildsDTO

public BuildsDTO()
Method Detail

getBuilds

public List<BuildDTO> getBuilds()
Gets the value of the builds property.

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 builds property.

For example, to add a new item, do as follows:

    getBuilds().add(newItem);
 

Objects of the following type(s) are allowed in the list BuildDTO


withBuilds

public BuildsDTO withBuilds(BuildDTO... values)

withBuilds

public BuildsDTO withBuilds(Collection<BuildDTO> values)

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.