org.hudsonci.rest.model
Class NodesDTO

java.lang.Object
  extended by org.hudsonci.rest.model.NodesDTO

public class NodesDTO
extends Object

Java class for nodes complex type.

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

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


Field Summary
protected  List<NodeDTO> nodes
           
 
Constructor Summary
NodesDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 List<NodeDTO> getNodes()
          Gets the value of the nodes property.
 int hashCode()
           
 NodesDTO withNodes(Collection<NodeDTO> values)
           
 NodesDTO withNodes(NodeDTO... values)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

protected List<NodeDTO> nodes
Constructor Detail

NodesDTO

public NodesDTO()
Method Detail

getNodes

public List<NodeDTO> getNodes()
Gets the value of the nodes 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 nodes property.

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

    getNodes().add(newItem);
 

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


withNodes

public NodesDTO withNodes(NodeDTO... values)

withNodes

public NodesDTO withNodes(Collection<NodeDTO> 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.