|
||||||||||
| 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(java.lang.Long taskId)
Delete specified task. |
boolean |
deleteTaskExecution(java.lang.Long execId)
Delete specified task's execution. |
java.util.List<TaskTO> |
getAllTasks()
Get all stored tasks. |
RestClient |
getRestClient()
Getter for restClient attribute. |
java.util.List<TaskExecutionTO> |
listExecutions()
Get all executions. |
TaskTO |
readTask(java.lang.String taskId)
Load an existent task. |
void |
setRestClient(RestClient restClient)
Setter for restClient attribute. |
boolean |
startTaskExecution(java.lang.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 java.util.List<TaskTO> getAllTasks()
public TaskTO readTask(java.lang.String taskId)
public java.util.List<TaskExecutionTO> listExecutions()
public void deleteTask(java.lang.Long taskId)
task - to delete idpublic boolean startTaskExecution(java.lang.Long taskId)
taskTO's - id
public boolean deleteTaskExecution(java.lang.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 | |||||||||