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