|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hudsonci.rest.model.NodeDTO
public class NodeDTO
Java class for node complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="node">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="executors" type="{http://www.w3.org/2001/XMLSchema}int"/>
<element name="mode" type="{http://hudson-ci.org/xsd/hudson/2.1.0/rest/common}nodeMode"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
description
|
protected int |
executors
|
protected NodeModeDTO |
mode
|
protected String |
name
|
| Constructor Summary | |
|---|---|
NodeDTO()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
String |
getDescription()
Gets the value of the description property. |
int |
getExecutors()
Gets the value of the executors property. |
NodeModeDTO |
getMode()
Gets the value of the mode property. |
String |
getName()
Gets the value of the name property. |
int |
hashCode()
|
void |
setDescription(String value)
Sets the value of the description property. |
void |
setExecutors(int value)
Sets the value of the executors property. |
void |
setMode(NodeModeDTO value)
Sets the value of the mode property. |
void |
setName(String value)
Sets the value of the name property. |
NodeDTO |
withDescription(String value)
|
NodeDTO |
withExecutors(int value)
|
NodeDTO |
withMode(NodeModeDTO value)
|
NodeDTO |
withName(String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String description
protected int executors
protected NodeModeDTO mode
| Constructor Detail |
|---|
public NodeDTO()
| Method Detail |
|---|
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic int getExecutors()
public void setExecutors(int value)
public NodeModeDTO getMode()
NodeModeDTOpublic void setMode(NodeModeDTO value)
value - allowed object is
NodeModeDTOpublic NodeDTO withName(String value)
public NodeDTO withDescription(String value)
public NodeDTO withExecutors(int value)
public NodeDTO withMode(NodeModeDTO value)
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 | |||||||||