|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.Entity com.splunk.ModularInputKind
public class ModularInputKind
The ModularInputKind
class represents a particular modular input.
The actual inputs of this kind can be accessed from the
InputCollection
object.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
ModularInputKindArgument |
getArgument(java.lang.String argumentName)
Returns a map-like object representing a particular argument of this modular input kind. |
java.util.Map<java.lang.String,ModularInputKindArgument> |
getArguments()
Returns an argument map that contains the argument names as keys, and the ModularInputKindArgument s as corresponding values. |
java.lang.String |
getDescription()
Returns the description of this modular input kind. |
java.lang.String |
getStreamingMode()
Returns the streaming mode of this modular input kind. |
java.lang.String |
getTitle()
Returns the title of this modular input kind, which is also displayed in Splunk Web (rather than the name used in the REST API). |
boolean |
hasArgument(java.lang.String argumentName)
Indicates whether this modular input kind has a given argument. |
Methods inherited from class com.splunk.Entity |
---|
clear, containsKey, containsValue, disable, enable, entrySet, get, getMetadata, isDisabled, isEmpty, keySet, put, putAll, refresh, remove, remove, size, update, update, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getName, getPath, getService, invalidate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Method Detail |
---|
public java.util.Map<java.lang.String,ModularInputKindArgument> getArguments()
ModularInputKindArgument
s as corresponding values.
Map
containing the argument key-value pairs.public java.lang.String getStreamingMode()
public ModularInputKindArgument getArgument(java.lang.String argumentName)
argumentName
- The name of the argument to retrieve.
ModularInputKindArgument
object representing the given
argument, or null
if the argument does not exist.public java.lang.String getDescription()
public java.lang.String getTitle()
getTitle
in class Resource
public boolean hasArgument(java.lang.String argumentName)
argumentName
- The argument to look up.
true
if the argument exists, false
if not.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |