Class TaskRestClient
java.lang.Object
org.apache.syncope.client.console.rest.BaseRestClient
org.apache.syncope.client.console.rest.TaskRestClient
- All Implemented Interfaces:
Serializable
,ExecutionRestClient
,RestClient
Console client for invoking Rest Tasks services.
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.client.console.rest.BaseRestClient
LOG
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
batch
(BatchRequest batchRequest) long
long
count
(AnyTypeKind anyTypeKind, String entityKey, String notification) long
count
(AnyTypeKind anyTypeKind, String entityKey, TaskType kind) long
long
countExecutions
(String taskKey) void
create
(TaskType type, SchedTaskTO taskTO) void
void
deleteExecution
(String taskExecKey) getMacroTaskForm
(String taskKey) listExecutions
(String taskKey, int page, int size, SortParam<String> sort) listJobs()
listNotificationTasks
(String notification, AnyTypeKind anyTypeKind, String entityKey, int page, int size, SortParam<String> sort) listPropagationTasks
(String resource, int page, int size, SortParam<String> sort) listPropagationTasks
(AnyTypeKind anyTypeKind, String entityKey, int page, int size, SortParam<String> sort) listRecentExecutions
(int max) readNotificationTask
(String taskKey) readPropagationTask
(String taskKey) <T extends TaskTO>
Tvoid
startExecution
(String taskKey, Date startAt) void
startExecution
(String taskKey, Date startAt, boolean dryRun) void
startExecution
(String taskKey, Date startAt, boolean dryRun, SyncopeForm macroTaskForm) void
update
(TaskType type, SchedTaskTO taskTO) Methods inherited from class org.apache.syncope.client.console.rest.BaseRestClient
getObject, getService, getService, getStatus, getSyncopeService, resetClient, toOrderBy
-
Constructor Details
-
TaskRestClient
public TaskRestClient()
-
-
Method Details
-
getJob
-
listJobs
-
actionJob
-
count
-
count
-
count
-
count
-
countExecutions
- Specified by:
countExecutions
in interfaceExecutionRestClient
-
listPropagationTasks
public List<PropagationTaskTO> listPropagationTasks(String resource, int page, int size, SortParam<String> sort) -
listPropagationTasks
public List<PropagationTaskTO> listPropagationTasks(AnyTypeKind anyTypeKind, String entityKey, int page, int size, SortParam<String> sort) -
listNotificationTasks
public List<NotificationTaskTO> listNotificationTasks(String notification, AnyTypeKind anyTypeKind, String entityKey, int page, int size, SortParam<String> sort) -
list
-
list
-
listExecutions
- Specified by:
listExecutions
in interfaceExecutionRestClient
-
readPropagationTask
-
readNotificationTask
-
readTask
-
getMacroTaskForm
-
delete
-
startExecution
- Specified by:
startExecution
in interfaceExecutionRestClient
-
startExecution
-
startExecution
-
deleteExecution
- Specified by:
deleteExecution
in interfaceExecutionRestClient
-
listRecentExecutions
- Specified by:
listRecentExecutions
in interfaceExecutionRestClient
-
create
-
update
-
batch
- Specified by:
batch
in interfaceExecutionRestClient
-