com.splunk
Class Message
java.lang.Object
com.splunk.Resource
com.splunk.Entity
com.splunk.Message
- All Implemented Interfaces:
- java.util.Map<java.lang.String,java.lang.Object>
public class Message
- extends Entity
The Message
class represents a message. Most messages are created by
Splunkd to inform the user of system problems, such as license quotas,
license expirations, misconfigured indexes, and disk space.
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
java.lang.String |
getKey()
Returns the title of this message. |
java.lang.String |
getValue()
Returns the content of this message. |
Methods inherited from class com.splunk.Entity |
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
getKey
public java.lang.String getKey()
- Returns the title of this message.
- Returns:
- The message title.
getValue
public java.lang.String getValue()
- Returns the content of this message.
- Returns:
- The message text.