org.hudsonci.rest.model
Class StatusDTO

java.lang.Object
  extended by org.hudsonci.rest.model.StatusDTO

public class StatusDTO
extends Object

Java class for status complex type.

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

 <complexType name="status">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="url" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="version" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="initLevel" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}initLevel"/>
         <element name="quietingDown" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="terminating" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="systemMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="user" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}user" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  InitLevelDTO initLevel
           
protected  boolean quietingDown
           
protected  String systemMessage
           
protected  boolean terminating
           
protected  String url
           
protected  UserDTO user
           
protected  String version
           
 
Constructor Summary
StatusDTO()
           
 
Method Summary
 boolean equals(Object obj)
           
 InitLevelDTO getInitLevel()
          Gets the value of the initLevel property.
 String getSystemMessage()
          Gets the value of the systemMessage property.
 String getUrl()
          Gets the value of the url property.
 UserDTO getUser()
          Gets the value of the user property.
 String getVersion()
          Gets the value of the version property.
 int hashCode()
           
 boolean isQuietingDown()
          Gets the value of the quietingDown property.
 boolean isTerminating()
          Gets the value of the terminating property.
 void setInitLevel(InitLevelDTO value)
          Sets the value of the initLevel property.
 void setQuietingDown(boolean value)
          Sets the value of the quietingDown property.
 void setSystemMessage(String value)
          Sets the value of the systemMessage property.
 void setTerminating(boolean value)
          Sets the value of the terminating property.
 void setUrl(String value)
          Sets the value of the url property.
 void setUser(UserDTO value)
          Sets the value of the user property.
 void setVersion(String value)
          Sets the value of the version property.
 StatusDTO withInitLevel(InitLevelDTO value)
           
 StatusDTO withQuietingDown(boolean value)
           
 StatusDTO withSystemMessage(String value)
           
 StatusDTO withTerminating(boolean value)
           
 StatusDTO withUrl(String value)
           
 StatusDTO withUser(UserDTO value)
           
 StatusDTO withVersion(String value)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

url

protected String url

version

protected String version

initLevel

protected InitLevelDTO initLevel

quietingDown

protected boolean quietingDown

terminating

protected boolean terminating

systemMessage

protected String systemMessage

user

protected UserDTO user
Constructor Detail

StatusDTO

public StatusDTO()
Method Detail

getUrl

public String getUrl()
Gets the value of the url property.

Returns:
possible object is String

setUrl

public void setUrl(String value)
Sets the value of the url property.

Parameters:
value - allowed object is String

getVersion

public String getVersion()
Gets the value of the version property.

Returns:
possible object is String

setVersion

public void setVersion(String value)
Sets the value of the version property.

Parameters:
value - allowed object is String

getInitLevel

public InitLevelDTO getInitLevel()
Gets the value of the initLevel property.

Returns:
possible object is InitLevelDTO

setInitLevel

public void setInitLevel(InitLevelDTO value)
Sets the value of the initLevel property.

Parameters:
value - allowed object is InitLevelDTO

isQuietingDown

public boolean isQuietingDown()
Gets the value of the quietingDown property.


setQuietingDown

public void setQuietingDown(boolean value)
Sets the value of the quietingDown property.


isTerminating

public boolean isTerminating()
Gets the value of the terminating property.


setTerminating

public void setTerminating(boolean value)
Sets the value of the terminating property.


getSystemMessage

public String getSystemMessage()
Gets the value of the systemMessage property.

Returns:
possible object is String

setSystemMessage

public void setSystemMessage(String value)
Sets the value of the systemMessage property.

Parameters:
value - allowed object is String

getUser

public UserDTO getUser()
Gets the value of the user property.

Returns:
possible object is UserDTO

setUser

public void setUser(UserDTO value)
Sets the value of the user property.

Parameters:
value - allowed object is UserDTO

withUrl

public StatusDTO withUrl(String value)

withVersion

public StatusDTO withVersion(String value)

withInitLevel

public StatusDTO withInitLevel(InitLevelDTO value)

withQuietingDown

public StatusDTO withQuietingDown(boolean value)

withTerminating

public StatusDTO withTerminating(boolean value)

withSystemMessage

public StatusDTO withSystemMessage(String value)

withUser

public StatusDTO withUser(UserDTO 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.