|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.TasksRestClient
public class TasksRestClient
Console client for invoking Rest Tasks services.
| Constructor Summary | |
|---|---|
TasksRestClient()
|
|
| Method Summary | |
|---|---|
void |
deleteTask(Long taskId)
Delete specified task. |
boolean |
deleteTaskExecution(Long execId)
Delete specified task's execution. |
List<TaskTO> |
getAllTasks()
Get all stored tasks. |
RestClient |
getRestClient()
Getter for restClient attribute. |
List<TaskExecutionTO> |
listExecutions()
Get all executions. |
TaskTO |
readTask(String taskId)
Load an existent task. |
void |
setRestClient(RestClient restClient)
Setter for restClient attribute. |
boolean |
startTaskExecution(Long taskId)
Start execution for the specified TaskTO. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TasksRestClient()
| Method Detail |
|---|
public List<TaskTO> getAllTasks()
public TaskTO readTask(String taskId)
public List<TaskExecutionTO> listExecutions()
public void deleteTask(Long taskId)
task - to delete idpublic boolean startTaskExecution(Long taskId)
taskTO's - id
public boolean deleteTaskExecution(Long execId)
task - to delete idpublic RestClient getRestClient()
public void setRestClient(RestClient restClient)
restClient - instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||