Package | Description |
---|---|
com.googlecode.jsendnsca | |
com.googlecode.jsendnsca.builders |
Modifier and Type | Method and Description |
---|---|
Level |
MessagePayload.getLevel()
Get the level of the Passive check
|
static Level |
Level.toLevel(int levelValue)
Get the
Level equivalent of the int levelValue provided |
static Level |
Level.tolevel(String level)
Get the
Level equivalent of the string level provided ignoring
case and leading or trailing whitespace |
static Level |
Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Level[] |
Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MessagePayload.setLevel(Level level)
Set the level of the Passive check
|
Constructor and Description |
---|
MessagePayload(String hostname,
Level level,
String serviceName,
String message)
Construct a new
MessagePayload |
Modifier and Type | Method and Description |
---|---|
MessagePayloadBuilder |
MessagePayloadBuilder.withLevel(Level level)
Set the level of the passive check
|
Copyright © Nov 2008–2018 JSend NSCA. All rights reserved.