|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.build.BuildDTO
public class BuildDTO
Java class for build complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="build">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="number" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="projectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="duration" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="timeStamp" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="result" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}buildResult" minOccurs="0"/>
<element name="state" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}buildState" minOccurs="0"/>
<element name="kept" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="causes" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}cause" maxOccurs="unbounded" minOccurs="0"/>
<element name="participants" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="culprits" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
<element name="changesAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="testsAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected List<CauseDTO> |
causes
|
protected boolean |
changesAvailable
|
protected List<String> |
culprits
|
protected String |
description
|
protected Long |
duration
|
protected String |
id
|
protected boolean |
kept
|
protected int |
number
|
protected List<String> |
participants
|
protected String |
projectName
|
protected BuildResultDTO |
result
|
protected BuildStateDTO |
state
|
protected boolean |
testsAvailable
|
protected long |
timeStamp
|
protected String |
type
|
protected String |
url
|
| Constructor Summary | |
|---|---|
BuildDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<CauseDTO> |
getCauses()
Gets the value of the causes property. |
List<String> |
getCulprits()
Gets the value of the culprits property. |
String |
getDescription()
Gets the value of the description property. |
Long |
getDuration()
Gets the value of the duration property. |
String |
getId()
Gets the value of the id property. |
int |
getNumber()
Gets the value of the number property. |
List<String> |
getParticipants()
Gets the value of the participants property. |
String |
getProjectName()
Gets the value of the projectName property. |
BuildResultDTO |
getResult()
Gets the value of the result property. |
BuildStateDTO |
getState()
Gets the value of the state property. |
long |
getTimeStamp()
Gets the value of the timeStamp property. |
String |
getType()
Gets the value of the type property. |
String |
getUrl()
Gets the value of the url property. |
int |
hashCode()
|
boolean |
isChangesAvailable()
Gets the value of the changesAvailable property. |
boolean |
isKept()
Gets the value of the kept property. |
boolean |
isTestsAvailable()
Gets the value of the testsAvailable property. |
void |
setChangesAvailable(boolean value)
Sets the value of the changesAvailable property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setDuration(Long value)
Sets the value of the duration property. |
void |
setId(String value)
Sets the value of the id property. |
void |
setKept(boolean value)
Sets the value of the kept property. |
void |
setNumber(int value)
Sets the value of the number property. |
void |
setProjectName(String value)
Sets the value of the projectName property. |
void |
setResult(BuildResultDTO value)
Sets the value of the result property. |
void |
setState(BuildStateDTO value)
Sets the value of the state property. |
void |
setTestsAvailable(boolean value)
Sets the value of the testsAvailable property. |
void |
setTimeStamp(long value)
Sets the value of the timeStamp property. |
void |
setType(String value)
Sets the value of the type property. |
void |
setUrl(String value)
Sets the value of the url property. |
BuildDTO |
withCauses(CauseDTO... values)
|
BuildDTO |
withCauses(Collection<CauseDTO> values)
|
BuildDTO |
withChangesAvailable(boolean value)
|
BuildDTO |
withCulprits(Collection<String> values)
|
BuildDTO |
withCulprits(String... values)
|
BuildDTO |
withDescription(String value)
|
BuildDTO |
withDuration(Long value)
|
BuildDTO |
withId(String value)
|
BuildDTO |
withKept(boolean value)
|
BuildDTO |
withNumber(int value)
|
BuildDTO |
withParticipants(Collection<String> values)
|
BuildDTO |
withParticipants(String... values)
|
BuildDTO |
withProjectName(String value)
|
BuildDTO |
withResult(BuildResultDTO value)
|
BuildDTO |
withState(BuildStateDTO value)
|
BuildDTO |
withTestsAvailable(boolean value)
|
BuildDTO |
withTimeStamp(long value)
|
BuildDTO |
withType(String value)
|
BuildDTO |
withUrl(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String type
protected String url
protected String id
protected int number
protected String description
protected String projectName
protected Long duration
protected long timeStamp
protected BuildResultDTO result
protected BuildStateDTO state
protected boolean kept
protected List<CauseDTO> causes
protected List<String> participants
protected List<String> culprits
protected boolean changesAvailable
protected boolean testsAvailable
| Constructor Detail |
|---|
public BuildDTO()
| Method Detail |
|---|
public String getType()
Stringpublic void setType(String value)
value - allowed object is
Stringpublic String getUrl()
Stringpublic void setUrl(String value)
value - allowed object is
Stringpublic String getId()
Stringpublic void setId(String value)
value - allowed object is
Stringpublic int getNumber()
public void setNumber(int value)
public String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic String getProjectName()
Stringpublic void setProjectName(String value)
value - allowed object is
Stringpublic Long getDuration()
Longpublic void setDuration(Long value)
value - allowed object is
Longpublic long getTimeStamp()
public void setTimeStamp(long value)
public BuildResultDTO getResult()
BuildResultDTOpublic void setResult(BuildResultDTO value)
value - allowed object is
BuildResultDTOpublic BuildStateDTO getState()
BuildStateDTOpublic void setState(BuildStateDTO value)
value - allowed object is
BuildStateDTOpublic boolean isKept()
public void setKept(boolean value)
public List<CauseDTO> getCauses()
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 causes property.
For example, to add a new item, do as follows:
getCauses().add(newItem);
Objects of the following type(s) are allowed in the list
CauseDTO
public List<String> getParticipants()
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 participants property.
For example, to add a new item, do as follows:
getParticipants().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<String> getCulprits()
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 culprits property.
For example, to add a new item, do as follows:
getCulprits().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isChangesAvailable()
public void setChangesAvailable(boolean value)
public boolean isTestsAvailable()
public void setTestsAvailable(boolean value)
public BuildDTO withType(String value)
public BuildDTO withUrl(String value)
public BuildDTO withId(String value)
public BuildDTO withNumber(int value)
public BuildDTO withDescription(String value)
public BuildDTO withProjectName(String value)
public BuildDTO withDuration(Long value)
public BuildDTO withTimeStamp(long value)
public BuildDTO withResult(BuildResultDTO value)
public BuildDTO withState(BuildStateDTO value)
public BuildDTO withKept(boolean value)
public BuildDTO withCauses(CauseDTO... values)
public BuildDTO withCauses(Collection<CauseDTO> values)
public BuildDTO withParticipants(String... values)
public BuildDTO withParticipants(Collection<String> values)
public BuildDTO withCulprits(String... values)
public BuildDTO withCulprits(Collection<String> values)
public BuildDTO withChangesAvailable(boolean value)
public BuildDTO withTestsAvailable(boolean value)
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 | |||||||||