- All Implemented Interfaces:
Check
public class CheckEntry
extends Object
implements Check
- Since:
- 1.0
- Author:
- graemerocher
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micronaut.discovery.consul.client.v1.Check
Check.Status
-
Constructor Summary
Constructors
-
Method Summary
protected void
protected void
protected void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CheckEntry
protected CheckEntry(@Nullable
@Nullable String id)
- Parameters:
id - The id
-
Method Details
-
getName
- Specified by:
getName in interface Check
- Returns:
- The name of the check
-
setName
protected void setName(String name)
- Parameters:
name - The name of the check
-
getID
- Specified by:
getID in interface Check
- Returns:
- A unique ID for the check
-
getNotes
- Specified by:
getNotes in interface Check
- Returns:
- Human readable notes
-
setNotes
protected void setNotes(String notes)
- Parameters:
notes - The human readable notes
-
getStatus
- Returns:
- The status
-
setStatus
protected void setStatus(String status)
- Parameters:
status - The status
-
status
- Specified by:
status in interface Check
- Returns:
- The status an an enum