|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.syncope.console.rest.AbstractBaseRestClient
org.syncope.console.rest.TaskRestClient
@Component public class TaskRestClient
Console client for invoking Rest Tasks services.
| Field Summary |
|---|
| Fields inherited from class org.syncope.console.rest.AbstractBaseRestClient |
|---|
baseURL, LOG, restTemplate |
| Constructor Summary | |
|---|---|
TaskRestClient()
|
|
| Method Summary | |
|---|---|
Integer |
count()
|
void |
delete(Long taskId)
Delete specified task. |
void |
deleteExecution(Long taskExecId)
Delete specified task's execution. |
List<TaskTO> |
list(int page,
int size)
Get all stored tasks. |
List<TaskExecutionTO> |
listExecutions()
Get all executions. |
TaskTO |
read(String taskId)
Load an existing task. |
void |
startExecution(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 TaskRestClient()
| Method Detail |
|---|
public Integer count()
public List<TaskTO> list(int page,
int size)
page - pagination element to fetchsize - maximum number to fetch
public TaskTO read(String taskId)
taskId - task to read
public List<TaskExecutionTO> listExecutions()
public void delete(Long taskId)
taskId - task to deletepublic void startExecution(Long taskId)
taskId - task idpublic void deleteExecution(Long taskExecId)
taskExecId - task execution id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||