org.hudsonci.rest.model.build
Class BuildEventDTO

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

public class BuildEventDTO
extends Object

Java class for buildEvent complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="buildEvent">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="type" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/build}buildEventType"/>
         <element name="projectName" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="buildNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  int buildNumber
           
protected  String projectName
           
protected  BuildEventTypeDTO type
           
 
Constructor Summary
BuildEventDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 int getBuildNumber()
          Gets the value of the buildNumber property.
 String getProjectName()
          Gets the value of the projectName property.
 BuildEventTypeDTO getType()
          Gets the value of the type property.
 int hashCode()
           
 void setBuildNumber(int value)
          Sets the value of the buildNumber property.
 void setProjectName(String value)
          Sets the value of the projectName property.
 void setType(BuildEventTypeDTO value)
          Sets the value of the type property.
 BuildEventDTO withBuildNumber(int value)
           
 BuildEventDTO withProjectName(String value)
           
 BuildEventDTO withType(BuildEventTypeDTO value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

protected BuildEventTypeDTO type

projectName

protected String projectName

buildNumber

protected int buildNumber
Constructor Detail

BuildEventDTO

public BuildEventDTO()
Method Detail

getType

public BuildEventTypeDTO getType()
Gets the value of the type property.

Returns:
possible object is BuildEventTypeDTO

setType

public void setType(BuildEventTypeDTO value)
Sets the value of the type property.

Parameters:
value - allowed object is BuildEventTypeDTO

getProjectName

public String getProjectName()
Gets the value of the projectName property.

Returns:
possible object is String

setProjectName

public void setProjectName(String value)
Sets the value of the projectName property.

Parameters:
value - allowed object is String

getBuildNumber

public int getBuildNumber()
Gets the value of the buildNumber property.


setBuildNumber

public void setBuildNumber(int value)
Sets the value of the buildNumber property.


withType

public BuildEventDTO withType(BuildEventTypeDTO value)

withProjectName

public BuildEventDTO withProjectName(String value)

withBuildNumber

public BuildEventDTO withBuildNumber(int value)

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.