org.hudsonci.rest.model.build
Class ChangeEntryDTO

java.lang.Object
  extended by org.hudsonci.rest.model.build.ChangeEntryDTO

public class ChangeEntryDTO
extends Object

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

message

protected String message

author

protected UserDTO author

paths

protected List<String> paths

files

protected List<ChangeFileDTO> files
Constructor Detail

ChangeEntryDTO

public ChangeEntryDTO()
Method Detail

getMessage

public String getMessage()
Gets the value of the message property.

Returns:
possible object is String

setMessage

public void setMessage(String value)
Sets the value of the message property.

Parameters:
value - allowed object is String

getAuthor

public UserDTO getAuthor()
Gets the value of the author property.

Returns:
possible object is UserDTO

setAuthor

public void setAuthor(UserDTO value)
Sets the value of the author property.

Parameters:
value - allowed object is UserDTO

getPaths

public List<String> getPaths()
Gets the value of the paths 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 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


getFiles

public List<ChangeFileDTO> getFiles()
Gets the value of the files 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 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


withMessage

public ChangeEntryDTO withMessage(String value)

withAuthor

public ChangeEntryDTO withAuthor(UserDTO value)

withPaths

public ChangeEntryDTO withPaths(String... values)

withPaths

public ChangeEntryDTO withPaths(Collection<String> values)

withFiles

public ChangeEntryDTO withFiles(ChangeFileDTO... values)

withFiles

public ChangeEntryDTO withFiles(Collection<ChangeFileDTO> 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.