Package org.jclouds.ultradns.ws.features
Interface TaskApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear(String name)clears a background task in either a COMPLETE or ERROR state.Taskget(String name)com.google.common.collect.FluentIterable<Task>list()Lists all tasks.StringrunTest(String value)Runs a test task
-
-
-
Method Detail
-
runTest
@Named("runTest") @POST String runTest(String value)Runs a test task- Returns:
- guid of the task created
-
get
@Named("getStatusForTask") @POST @Nullable Task get(String name)- Parameters:
guid- guid of the task to get information about.- Returns:
- null if not found
-
list
@Named("getAllTasks") @POST com.google.common.collect.FluentIterable<Task> list()Lists all tasks.
-
clear
@Named("clearTask") @POST void clear(String name)clears a background task in either a COMPLETE or ERROR state.- Parameters:
guid- guid of the task to clear.
-
-