Check.Status
Modifier | Constructor and Description |
---|---|
protected |
NewCheck()
Default constructor.
|
protected |
NewCheck(String name) |
Modifier and Type | Method and Description |
---|---|
Duration |
deregisterCriticalServiceAfter() |
NewCheck |
deregisterCriticalServiceAfter(Duration interval) |
NewCheck |
deregisterCriticalServiceAfter(String interval) |
boolean |
equals(Object o) |
Optional<String> |
getDeregisterCriticalServiceAfter() |
String |
getID() |
String |
getName() |
String |
getNotes() |
String |
getStatus() |
int |
hashCode() |
NewCheck |
id(String ID) |
NewCheck |
notes(String notes) |
protected void |
setDeregisterCriticalServiceAfter(String deregisterCriticalServiceAfter) |
protected void |
setName(String name) |
protected void |
setNotes(String notes) |
protected void |
setStatus(String status) |
Check.Status |
status() |
NewCheck |
status(Check.Status status) |
protected NewCheck(String name)
name
- The nameprotected NewCheck()
public String getName()
public String getID()
public String getNotes()
public String getStatus()
public Check.Status status()
public Duration deregisterCriticalServiceAfter()
Duration
public Optional<String> getDeregisterCriticalServiceAfter()
Optional
public NewCheck deregisterCriticalServiceAfter(String interval)
interval
- The deregisterCriticalServiceAfter as a stringNewCheck
instancepublic NewCheck id(String ID)
ID
- The ID of the checkDuration
public NewCheck status(Check.Status status)
status
- The Check.Status
of the checkDuration
public NewCheck notes(String notes)
notes
- The human readable notesDuration
protected void setName(String name)
name
- The nameprotected void setDeregisterCriticalServiceAfter(String deregisterCriticalServiceAfter)
deregisterCriticalServiceAfter
- Service to de-regsiter afterprotected void setStatus(String status)
status
- The statusprotected void setNotes(String notes)
notes
- The notes