com.splunk
Class ScriptInput

java.lang.Object
  extended by com.splunk.Resource
      extended by com.splunk.Entity
          extended by com.splunk.Input
              extended by com.splunk.ScriptInput
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.Object>

public class ScriptInput
extends Input

The ScriptInput class represents a script input.


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.Resource
actions, path, service, title
 
Method Summary
 java.lang.String getGroup()
          Returns the group for this script input.
 java.lang.String getHost()
          Returns the source host for this script input.
 java.lang.String getIndex()
          Returns the index name for this script input.
 java.lang.String getInterval()
          Returns the execution frequency for this script input.
 InputKind getKind()
          Returns the input type for this script input.
 int getRcvBuf()
          Returns the value of the _rcvbuf attribute for this script input.
 
Methods inherited from class com.splunk.Entity
actionPath, clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, reload, remove, remove, size, update, validate, values
 
Methods inherited from class com.splunk.Resource
getActions, 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

getGroup

public java.lang.String getGroup()
Returns the group for this script input.

Returns:
The group, or null if not specified.

getHost

public java.lang.String getHost()
Returns the source host for this script input.

Returns:
The source host, or null if not specified.

getIndex

public java.lang.String getIndex()
Returns the index name for this script input.

Returns:
The index name.

getInterval

public java.lang.String getInterval()
Returns the execution frequency for this script input.

Returns:
The execution frequency in seconds or a cron schedule.

getKind

public InputKind getKind()
Returns the input type for this script input.

Overrides:
getKind in class Input
Returns:
The input kind.
See Also:
InputKind

getRcvBuf

public int getRcvBuf()
Returns the value of the _rcvbuf attribute for this script input.

Returns:
The _rcvbuf value.