org.ow2.jasmine.probe.rest
Interface TasksManager

All Known Implementing Classes:
JTasksManager

public interface TasksManager


Method Summary
 String createTask(String probeId)
          Create a data task for a probe.
 Task getTask(String taskId)
          Get a task object
 List<String> getTasks()
           
 void removeTask(String taskId)
          Remove a task
 

Method Detail

createTask

String createTask(String probeId)
Create a data task for a probe.

Parameters:
probeId - the probe's id
Returns:
the created task id

getTasks

List<String> getTasks()
Returns:
the list of the tasks ids

getTask

Task getTask(String taskId)
Get a task object

Parameters:
taskId - the task's id
Returns:
the task object's reference

removeTask

void removeTask(String taskId)
Remove a task

Parameters:
taskId - the task's id


Copyright © 2012 OW2 Consortium. All Rights Reserved.