org.jclouds.ultradns.ws.features
Interface TaskApi


public interface TaskApi

See Also:
,

Method Summary
 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
 

Method Detail

runTest

@Named(value="runTest")
String runTest(String value)
Runs a test task

Returns:
guid of the task created

get

@Named(value="getStatusForTask")
@Nullable
Task get(String name)
Parameters:
guid - guid of the task to get information about.
Returns:
null if not found

list

@Named(value="getAllTasks")
com.google.common.collect.FluentIterable<Task> list()
Lists all tasks.


clear

@Named(value="clearTask")
void clear(String name)
clears a background task in either a COMPLETE or ERROR state.

Parameters:
guid - guid of the task to clear.


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.