org.hudsonci.rest.model.project
Class HealthDTO

java.lang.Object
  extended by org.hudsonci.rest.model.project.HealthDTO

public class HealthDTO
extends Object

Java class for health complex type.

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

 <complexType name="health">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="score" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/project}heathScore"/>
         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  String description
           
protected  int score
           
 
Constructor Summary
HealthDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDescription()
          Gets the value of the description property.
 int getScore()
          Gets the value of the score property.
 int hashCode()
           
 void setDescription(String value)
          Sets the value of the description property.
 void setScore(int value)
          Sets the value of the score property.
 HealthDTO withDescription(String value)
           
 HealthDTO withScore(int value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

score

protected int score

description

protected String description
Constructor Detail

HealthDTO

public HealthDTO()
Method Detail

getScore

public int getScore()
Gets the value of the score property.


setScore

public void setScore(int value)
Sets the value of the score property.


getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

withScore

public HealthDTO withScore(int value)

withDescription

public HealthDTO withDescription(String 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.