com.splunk
Class EventTypeCollection
java.lang.Object
com.splunk.Resource
com.splunk.ResourceCollection<T>
com.splunk.EntityCollection<EventType>
com.splunk.EventTypeCollection
- All Implemented Interfaces:
- java.util.Map<java.lang.String,EventType>
public class EventTypeCollection
- extends EntityCollection<EventType>
The EventTypeCollection
class represents a collection of event types.
Nested classes/interfaces inherited from interface java.util.Map |
java.util.Map.Entry<K,V> |
Method Summary |
EventType |
create(java.lang.String name,
java.lang.String search)
Creates an event type. |
EventType |
create(java.lang.String name,
java.lang.String search,
java.util.Map args)
Creates an event type. |
Methods inherited from class com.splunk.ResourceCollection |
clear, containsKey, containsKey, containsValue, entrySet, equals, get, get, hashCode, isEmpty, keySet, list, put, putAll, refresh, remove, size, validate, values, valueSize |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
create
public EventType create(java.lang.String name,
java.lang.String search)
- Creates an event type.
- Parameters:
name
- The name of the event type.search
- The search string of the event type.
- Returns:
- The event type.
create
public EventType create(java.lang.String name,
java.lang.String search,
java.util.Map args)
- Creates an event type.
- Parameters:
name
- The name of the event type.search
- The search string of the event type.args
- Optional arguments: "description", "disabled", and
"priority".
- Returns:
- The event type.