public class MessageCollection extends EntityCollection<Message>
MessageCollection
class represents a collection of messages,
providing access to Splunk system messages. Most messages are created by
Splunkd to inform the user of system problems.itemClass, items
Modifier and Type | Method and Description |
---|---|
Message |
create(java.lang.String name,
java.lang.String value)
Creates a new message.
|
create, create, remove, remove
clear, containsKey, containsKey, containsValue, createItem, createItem, entrySet, equals, get, get, hashCode, isEmpty, itemKey, itemPath, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize
getName, getPath, getService, getTitle, getUpdated, invalidate
public Message create(java.lang.String name, java.lang.String value)
name
- The name (primary key) of the new message.value
- The message text.