Modifier and Type | Method and Description |
---|---|
void |
clear(String name)
clears a background task in either a COMPLETE or ERROR state.
|
Task |
get(String name) |
com.google.common.collect.FluentIterable<Task> |
list()
Lists all tasks.
|
String |
runTest(String value)
Runs a test task
|
@Named(value="runTest") @POST String runTest(String value)
@Named(value="getStatusForTask") @POST @Nullable Task get(String name)
guid
- guid of the task to get information about.@Named(value="getAllTasks") @POST com.google.common.collect.FluentIterable<Task> list()
@Named(value="clearTask") @POST void clear(String name)
guid
- guid of the task to clear.Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.