com.splunk
Class Message

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.Entity
          extended by 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 Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Field Summary
 
Fields inherited from class com.splunk.Entity
toUpdate
 
Fields inherited from class com.splunk.Resource
actions, path, refreshArgs, service, title
 
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
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, isNameChangeAllowed, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values
 
Methods inherited from class com.splunk.Resource
getName, getPath, getService, getTitle, invalidate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Method Detail

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.