Package org.opennms.core.health.shell
Class HealthCheckCommand
- java.lang.Object
-
- org.opennms.core.health.shell.HealthCheckCommand
-
- All Implemented Interfaces:
org.apache.karaf.shell.api.action.Action
public class HealthCheckCommand extends java.lang.Object implements org.apache.karaf.shell.api.action.Action
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
FAILURE_MESSAGE
long
maxAgeMs
static java.lang.String
SUCCESS_MESSAGE
long
timeout
-
Constructor Summary
Constructors Constructor Description HealthCheckCommand()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
execute()
static boolean
isEndMessage(java.lang.String s)
-
-
-
Field Detail
-
SUCCESS_MESSAGE
public static final java.lang.String SUCCESS_MESSAGE
- See Also:
- Constant Field Values
-
FAILURE_MESSAGE
public static final java.lang.String FAILURE_MESSAGE
- See Also:
- Constant Field Values
-
timeout
public long timeout
-
maxAgeMs
public long maxAgeMs
-
-