|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.splunk.Resource com.splunk.ResourceCollection<T> com.splunk.EntityCollection<Job> com.splunk.JobCollection
public class JobCollection
The JobCollection
class represents a collection of jobs. A job
is an individual instance of a running or completed search or report, along
with its related output.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Method Summary | |
---|---|
Job |
create(java.lang.String query)
Creates a search with a UTF8 pre-encoded search request. |
Job |
create(java.lang.String query,
JobArgs args)
Creates a search. |
Job |
create(java.lang.String query,
java.util.Map args)
Creates a search. |
ResponseMessage |
list()
Returns the job's response. |
Methods inherited from class com.splunk.EntityCollection |
---|
remove, remove |
Methods inherited from class com.splunk.ResourceCollection |
---|
clear, containsKey, containsKey, containsValue, entrySet, equals, get, get, hashCode, isEmpty, keySet, 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 |
---|
public Job create(java.lang.String query)
Note: You can't create a "oneshot" search using this method.
Instead, use the Service.oneshotSearch(java.lang.String)
method.
create
in class EntityCollection<Job>
query
- The search query.
public Job create(java.lang.String query, java.util.Map args)
Note: You can't create a "oneshot" search using this method.
Instead, use the Service.oneshotSearch(java.lang.String)
method.
create
in class EntityCollection<Job>
query
- The search query.args
- Additional arguments for this job (see JobArgs
).
public Job create(java.lang.String query, JobArgs args)
Note: You can't create a "oneshot" search using this method.
Instead, use the Service.oneshotSearch(java.lang.String)
method.
query
- The search query.args
- Additional arguments for this job (see JobArgs
).
public ResponseMessage list()
list
in class ResourceCollection<Job>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |