com.splunk
Class EventTypeCollection

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.ResourceCollection<T>
          extended by com.splunk.EntityCollection<EventType>
              extended by 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 Class Summary
 
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.EntityCollection
create, create, remove, remove
 
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 com.splunk.Resource
getName, getPath, getService, getTitle, invalidate
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.