org.hudsonci.maven.model.state
Class BuildStatesDTO
java.lang.Object
org.hudsonci.maven.model.state.BuildStatesDTO
- All Implemented Interfaces:
- Serializable
@Generated(value="XJC hudson-jaxb-ri-2.1-2",
date="2011-12-06T19:15:37")
public class BuildStatesDTO- extends Object
- implements Serializable
Java class for buildStates complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="buildStates">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="state" type="{http://hudson-ci.org/xsd/hudson/2.1.0/maven/state}buildState" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
- See Also:
- Serialized Form
states
protected List<BuildStateDTO> states
BuildStatesDTO
public BuildStatesDTO()
getStates
public List<BuildStateDTO> getStates()
- Gets the value of the states 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 states property.
For example, to add a new item, do as follows:
getStates().add(newItem);
Objects of the following type(s) are allowed in the list
BuildStateDTO
withStates
public BuildStatesDTO withStates(BuildStateDTO... values)
withStates
public BuildStatesDTO withStates(Collection<BuildStateDTO> 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.