org.hudsonci.rest.model.build
Class BuildsDTO
java.lang.Object
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>
builds
protected List<BuildDTO> builds
BuildsDTO
public BuildsDTO()
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.