|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.splunk.Resource
com.splunk.ResourceCollection<T>
com.splunk.EntityCollection<Input>
com.splunk.InputCollection
public class InputCollection
The InputCollection
class represents a collection of inputs. The
collection is heterogeneous and each member contains an InputKind
property
that indicates the specific type of input (input kind).
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.ResourceCollection |
---|
itemClass, items |
Fields inherited from class com.splunk.Resource |
---|
actions, path, service, title |
Method Summary | ||
---|---|---|
Input |
create(java.lang.String name)
Creates a stub. |
|
|
create(java.lang.String name,
InputKind kind)
Creates a specific kind of input. |
|
|
create(java.lang.String name,
InputKind kind,
java.util.Map<java.lang.String,java.lang.Object> args)
Creates a specific kind of input by providing arguments. |
|
Input |
create(java.lang.String name,
java.util.Map args)
Creates a stub by providing additional arguments. |
|
protected Input |
createItem(AtomEntry entry)
Creates an Input resource item. |
|
protected InputKind |
itemKind(java.lang.String path)
Returns the path's InputKind value. |
|
InputCollection |
refresh()
Refreshes this input collection. |
Methods inherited from class com.splunk.EntityCollection |
---|
remove |
Methods inherited from class com.splunk.ResourceCollection |
---|
clear, containsKey, containsValue, createItem, entrySet, equals, get, hashCode, isEmpty, itemKey, itemPath, keySet, list, put, putAll, size, validate, values |
Methods inherited from class com.splunk.Resource |
---|
getActions, getName, getPath, getService, getTitle, invalidate |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Input create(java.lang.String name)
create
in class EntityCollection<Input>
name
- The name of the input.
java.lang.UnsupportedOperationException
public Input create(java.lang.String name, java.util.Map args)
create
in class EntityCollection<Input>
name
- The name of the input.args
- Optional arguments.
java.lang.UnsupportedOperationException
public <T extends Input> T create(java.lang.String name, InputKind kind)
T
- The implicit type of the input.name
- The name of the input.kind
- The specific kind of input.
public <T extends Input> T create(java.lang.String name, InputKind kind, java.util.Map<java.lang.String,java.lang.Object> args)
T
- The implicit type of the input.name
- The name of the input.kind
- The specific kind of input.args
- Optional arguments.
protected Input createItem(AtomEntry entry)
Input
resource item.
createItem
in class ResourceCollection<Input>
entry
- The AtomEntry
object describing the entry.
protected InputKind itemKind(java.lang.String path)
InputKind
value.
path
- The input path.
public InputCollection refresh()
refresh
in class ResourceCollection<Input>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |