public class Check extends Object
| Constructor and Description |
|---|
Check()
Default constructor
|
Check(Check other)
Copy constructor
|
Check(JsonObject check)
Constructor from JSON
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getId()
Get the ID of check
|
String |
getName()
Get the name of check
|
String |
getNode()
Get the name of node
|
String |
getNodeName()
Deprecated.
|
String |
getNotes()
Get the human-readable note of check
|
String |
getOutput()
Get the output of check
|
String |
getServiceId()
Get the ID of service with which this check associated
|
String |
getServiceName()
Get the name of service with which this check associated
|
CheckStatus |
getStatus()
Get the status of check
|
int |
hashCode() |
Check |
setId(String id)
Set the ID of check
|
Check |
setName(String name)
Set the name of check
|
Check |
setNode(String node)
Set the name of node
|
Check |
setNodeName(String nodeName)
Deprecated.
|
Check |
setNotes(String notes)
Set the human-readable note of check
|
Check |
setOutput(String output)
Set the output of check
|
Check |
setServiceId(String serviceId)
Set the ID of service with which this check associated
|
Check |
setServiceName(String serviceName)
Set the name of service with which this check associated
|
Check |
setStatus(CheckStatus status)
Set the status of check
|
JsonObject |
toJson()
Convert to JSON
|
public Check()
public Check(Check other)
other - the one to copypublic Check(JsonObject check)
check - the JSONpublic JsonObject toJson()
public String getId()
public String getName()
@Deprecated public String getNodeName()
getNode() insteadpublic String getNode()
public CheckStatus getStatus()
public String getNotes()
public String getOutput()
public String getServiceId()
public String getServiceName()
public Check setId(String id)
id - the ID of checkpublic Check setName(String name)
name - the name of checkpublic Check setStatus(CheckStatus status)
status - the status of checkpublic Check setNotes(String notes)
notes - the human-readable note of checkpublic Check setOutput(String output)
output - the output of checkpublic Check setServiceId(String serviceId)
serviceId - the ID of service with which this check associatedpublic Check setServiceName(String serviceName)
serviceName - the name of service with which this check associated@Deprecated public Check setNodeName(String nodeName)
setNode(String) ()} insteadnodeName - the name of nodepublic Check setNode(String node)
node - the name of nodeCopyright © 2023 Eclipse. All rights reserved.