|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.build.ChangeEntryDTO
public class ChangeEntryDTO
Java class for changeEntry complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="changeEntry">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="author" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}user"/>
<element name="path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
<element name="file" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}changeFile" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected UserDTO |
author
|
protected List<ChangeFileDTO> |
files
|
protected String |
message
|
protected List<String> |
paths
|
| Constructor Summary | |
|---|---|
ChangeEntryDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
UserDTO |
getAuthor()
Gets the value of the author property. |
List<ChangeFileDTO> |
getFiles()
Gets the value of the files property. |
String |
getMessage()
Gets the value of the message property. |
List<String> |
getPaths()
Gets the value of the paths property. |
int |
hashCode()
|
void |
setAuthor(UserDTO value)
Sets the value of the author property. |
void |
setMessage(String value)
Sets the value of the message property. |
ChangeEntryDTO |
withAuthor(UserDTO value)
|
ChangeEntryDTO |
withFiles(ChangeFileDTO... values)
|
ChangeEntryDTO |
withFiles(Collection<ChangeFileDTO> values)
|
ChangeEntryDTO |
withMessage(String value)
|
ChangeEntryDTO |
withPaths(Collection<String> values)
|
ChangeEntryDTO |
withPaths(String... values)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String message
protected UserDTO author
protected List<String> paths
protected List<ChangeFileDTO> files
| Constructor Detail |
|---|
public ChangeEntryDTO()
| Method Detail |
|---|
public String getMessage()
Stringpublic void setMessage(String value)
value - allowed object is
Stringpublic UserDTO getAuthor()
UserDTOpublic void setAuthor(UserDTO value)
value - allowed object is
UserDTOpublic List<String> getPaths()
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 paths property.
For example, to add a new item, do as follows:
getPaths().add(newItem);
Objects of the following type(s) are allowed in the list
String
public List<ChangeFileDTO> getFiles()
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 files property.
For example, to add a new item, do as follows:
getFiles().add(newItem);
Objects of the following type(s) are allowed in the list
ChangeFileDTO
public ChangeEntryDTO withMessage(String value)
public ChangeEntryDTO withAuthor(UserDTO value)
public ChangeEntryDTO withPaths(String... values)
public ChangeEntryDTO withPaths(Collection<String> values)
public ChangeEntryDTO withFiles(ChangeFileDTO... values)
public ChangeEntryDTO withFiles(Collection<ChangeFileDTO> 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 | |||||||||