org.hudsonci.rest.model
Class LabelsDTO
java.lang.Object
org.hudsonci.rest.model.LabelsDTO
public class LabelsDTO
- extends Object
Java class for labels complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="labels">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="label" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}label" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
labels
protected List<LabelDTO> labels
LabelsDTO
public LabelsDTO()
getLabels
public List<LabelDTO> getLabels()
- Gets the value of the labels 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 labels property.
For example, to add a new item, do as follows:
getLabels().add(newItem);
Objects of the following type(s) are allowed in the list
LabelDTO
withLabels
public LabelsDTO withLabels(LabelDTO... values)
withLabels
public LabelsDTO withLabels(Collection<LabelDTO> 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.