|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.project.ProjectDTO
public class ProjectDTO
Java class for project complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="project">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="ref" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}projectReference"/>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="configurable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="concurrent" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="queued" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="lastBuild" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}build" minOccurs="0"/>
<element name="blocked" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
<element name="blockedReason" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="health" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}health" minOccurs="0"/>
<element name="parent" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}projectReference"/>
<element name="descendant" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}projectReference" maxOccurs="unbounded"/>
<element name="upstream" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}projectReference" maxOccurs="unbounded"/>
<element name="downstream" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}projectReference" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Boolean |
blocked
|
protected String |
blockedReason
|
protected boolean |
concurrent
|
protected boolean |
configurable
|
protected List<ProjectReferenceDTO> |
descendants
|
protected String |
description
|
protected List<ProjectReferenceDTO> |
downstreams
|
protected boolean |
enabled
|
protected HealthDTO |
health
|
protected String |
id
|
protected BuildDTO |
lastBuild
|
protected String |
name
|
protected ProjectReferenceDTO |
parent
|
protected boolean |
queued
|
protected ProjectReferenceDTO |
ref
|
protected String |
title
|
protected String |
type
|
protected List<ProjectReferenceDTO> |
upstreams
|
protected String |
url
|
| Constructor Summary | |
|---|---|
ProjectDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getBlockedReason()
Gets the value of the blockedReason property. |
List<ProjectReferenceDTO> |
getDescendants()
Gets the value of the descendants property. |
String |
getDescription()
Gets the value of the description property. |
List<ProjectReferenceDTO> |
getDownstreams()
Gets the value of the downstreams property. |
HealthDTO |
getHealth()
Gets the value of the health property. |
String |
getId()
Gets the value of the id property. |
BuildDTO |
getLastBuild()
Gets the value of the lastBuild property. |
String |
getName()
Gets the value of the name property. |
ProjectReferenceDTO |
getParent()
Gets the value of the parent property. |
ProjectReferenceDTO |
getRef()
Gets the value of the ref property. |
String |
getTitle()
Gets the value of the title property. |
String |
getType()
Gets the value of the type property. |
List<ProjectReferenceDTO> |
getUpstreams()
Gets the value of the upstreams property. |
String |
getUrl()
Gets the value of the url property. |
int |
hashCode()
|
Boolean |
isBlocked()
Gets the value of the blocked property. |
boolean |
isConcurrent()
Gets the value of the concurrent property. |
boolean |
isConfigurable()
Gets the value of the configurable property. |
boolean |
isEnabled()
Gets the value of the enabled property. |
boolean |
isQueued()
Gets the value of the queued property. |
void |
setBlocked(Boolean value)
Sets the value of the blocked property. |
void |
setBlockedReason(String value)
Sets the value of the blockedReason property. |
void |
setConcurrent(boolean value)
Sets the value of the concurrent property. |
void |
setConfigurable(boolean value)
Sets the value of the configurable property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setEnabled(boolean value)
Sets the value of the enabled property. |
void |
setHealth(HealthDTO value)
Sets the value of the health property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setLastBuild(BuildDTO value)
Sets the value of the lastBuild property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setParent(ProjectReferenceDTO value)
Sets the value of the parent property. |
void |
setQueued(boolean value)
Sets the value of the queued property. |
void |
setRef(ProjectReferenceDTO value)
Sets the value of the ref property. |
void |
setTitle(String value)
Sets the value of the title property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setUrl(String value)
Sets the value of the url property. |
ProjectDTO |
withBlocked(Boolean value)
|
ProjectDTO |
withBlockedReason(String value)
|
ProjectDTO |
withConcurrent(boolean value)
|
ProjectDTO |
withConfigurable(boolean value)
|
ProjectDTO |
withDescendants(Collection<ProjectReferenceDTO> values)
|
ProjectDTO |
withDescendants(ProjectReferenceDTO... values)
|
ProjectDTO |
withDescription(String value)
|
ProjectDTO |
withDownstreams(Collection<ProjectReferenceDTO> values)
|
ProjectDTO |
withDownstreams(ProjectReferenceDTO... values)
|
ProjectDTO |
withEnabled(boolean value)
|
ProjectDTO |
withHealth(HealthDTO value)
|
ProjectDTO |
withId(String value)
|
ProjectDTO |
withLastBuild(BuildDTO value)
|
ProjectDTO |
withName(String value)
|
ProjectDTO |
withParent(ProjectReferenceDTO value)
|
ProjectDTO |
withQueued(boolean value)
|
ProjectDTO |
withRef(ProjectReferenceDTO value)
|
ProjectDTO |
withTitle(String value)
|
ProjectDTO |
withType(String value)
|
ProjectDTO |
withUpstreams(Collection<ProjectReferenceDTO> values)
|
ProjectDTO |
withUpstreams(ProjectReferenceDTO... values)
|
ProjectDTO |
withUrl(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected ProjectReferenceDTO ref
protected String type
protected String id
protected String url
protected String name
protected String title
protected String description
protected boolean enabled
protected boolean configurable
protected boolean concurrent
protected boolean queued
protected BuildDTO lastBuild
protected Boolean blocked
protected String blockedReason
protected HealthDTO health
protected ProjectReferenceDTO parent
protected List<ProjectReferenceDTO> descendants
protected List<ProjectReferenceDTO> upstreams
protected List<ProjectReferenceDTO> downstreams
| Constructor Detail |
|---|
public ProjectDTO()
| Method Detail |
|---|
public ProjectReferenceDTO getRef()
ProjectReferenceDTOpublic void setRef(ProjectReferenceDTO value)
value - allowed object is
ProjectReferenceDTOpublic String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic String getUrl()
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic boolean isEnabled()
public void setEnabled(boolean value)
public boolean isConfigurable()
public void setConfigurable(boolean value)
public boolean isConcurrent()
public void setConcurrent(boolean value)
public boolean isQueued()
public void setQueued(boolean value)
public BuildDTO getLastBuild()
BuildDTOpublic void setLastBuild(BuildDTO value)
value - allowed object is
BuildDTOpublic Boolean isBlocked()
Booleanpublic void setBlocked(Boolean value)
value - allowed object is
Booleanpublic String getBlockedReason()
Stringpublic void setBlockedReason(String value)
value - allowed object is
Stringpublic HealthDTO getHealth()
HealthDTOpublic void setHealth(HealthDTO value)
value - allowed object is
HealthDTOpublic ProjectReferenceDTO getParent()
ProjectReferenceDTOpublic void setParent(ProjectReferenceDTO value)
value - allowed object is
ProjectReferenceDTOpublic List<ProjectReferenceDTO> getDescendants()
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 descendants property.
For example, to add a new item, do as follows:
getDescendants().add(newItem);
Objects of the following type(s) are allowed in the list
ProjectReferenceDTO
public List<ProjectReferenceDTO> getUpstreams()
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 upstreams property.
For example, to add a new item, do as follows:
getUpstreams().add(newItem);
Objects of the following type(s) are allowed in the list
ProjectReferenceDTO
public List<ProjectReferenceDTO> getDownstreams()
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 downstreams property.
For example, to add a new item, do as follows:
getDownstreams().add(newItem);
Objects of the following type(s) are allowed in the list
ProjectReferenceDTO
public ProjectDTO withRef(ProjectReferenceDTO value)
public ProjectDTO withType(String value)
public ProjectDTO withId(String value)
public ProjectDTO withUrl(String value)
public ProjectDTO withName(String value)
public ProjectDTO withTitle(String value)
public ProjectDTO withDescription(String value)
public ProjectDTO withEnabled(boolean value)
public ProjectDTO withConfigurable(boolean value)
public ProjectDTO withConcurrent(boolean value)
public ProjectDTO withQueued(boolean value)
public ProjectDTO withLastBuild(BuildDTO value)
public ProjectDTO withBlocked(Boolean value)
public ProjectDTO withBlockedReason(String value)
public ProjectDTO withHealth(HealthDTO value)
public ProjectDTO withParent(ProjectReferenceDTO value)
public ProjectDTO withDescendants(ProjectReferenceDTO... values)
public ProjectDTO withDescendants(Collection<ProjectReferenceDTO> values)
public ProjectDTO withUpstreams(ProjectReferenceDTO... values)
public ProjectDTO withUpstreams(Collection<ProjectReferenceDTO> values)
public ProjectDTO withDownstreams(ProjectReferenceDTO... values)
public ProjectDTO withDownstreams(Collection<ProjectReferenceDTO> values)
public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||