public final class StatusMonitor extends Object
| Modifier and Type | Method and Description |
|---|---|
static StatusMonitor |
getCurrentStatus()
Creates the StatusMonitor with current information and a custom statusLabel label.
|
static StatusMonitor |
getCurrentStatus(String statusLabel)
Creates the StatusMonitor with current information and a custom statusLabel label.
|
String |
getDatetime() |
String |
getStatus() |
String |
getUptime() |
String |
toString() |
public static StatusMonitor getCurrentStatus(String statusLabel)
statusLabel - Custom statusLabel label.public static StatusMonitor getCurrentStatus()
public String getStatus()
public String getUptime()
public String getDatetime()
Copyright © 2018 CrafterCMS. All rights reserved.