Class Check
java.lang.Object
io.vertx.ext.consul.Check
-
Constructor Summary
ConstructorsConstructorDescriptionCheck()Default constructorCheck(JsonObject check) Constructor from JSONCopy constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Get the ID of checkgetName()Get the name of checkgetNode()Get the name of nodegetNotes()Get the human-readable note of checkGet the output of checkGet the ID of service with which this check associatedGet the name of service with which this check associatedGet the status of checkinthashCode()Set the ID of checkSet the name of checkSet the name of nodeSet the human-readable note of checkSet the output of checksetServiceId(String serviceId) Set the ID of service with which this check associatedsetServiceName(String serviceName) Set the name of service with which this check associatedsetStatus(CheckStatus status) Set the status of checktoJson()Convert to JSON
-
Constructor Details
-
Check
public Check()Default constructor -
Check
-
Check
-
-
Method Details
-
toJson
-
getId
-
getName
-
getNode
-
getStatus
-
getNotes
Get the human-readable note of check- Returns:
- the human-readable note of check
-
getOutput
-
getServiceId
Get the ID of service with which this check associated- Returns:
- the ID of service with which this check associated
-
getServiceName
Get the name of service with which this check associated- Returns:
- the name of service with which this check associated
-
setId
-
setName
-
setStatus
Set the status of check- Parameters:
status- the status of check- Returns:
- reference to this, for fluency
-
setNotes
-
setOutput
-
setServiceId
-
setServiceName
-
setNode
-
equals
-
hashCode
-