Package com.soffid.iam.sync.service
Interface ScheduledTaskService
public interface ScheduledTaskService
Service ScheduledTaskService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreate(ScheduledTask task) Operation createcreate(ScheduledTaskHandler handler) Operation createOperation findById Finds a scheduled task by handler and paramsfindScheduledTaskByHandlerAndParams(String handler, String params) Operation findScheduledTaskByHandlerAndParams Finds a scheduled task by handler and paramsbooleanisStopping(ScheduledTask task) Operation isStoppingOperation listEnabledTasksOperation listHandlerslistServerTasks(String server) Operation listServerTasksOperation listTasksOperation loadvoidregisterEndTask(ScheduledTask task) Operation registerEndTaskvoidOperation registerStartTaskvoidremove(ScheduledTask task) Operation removevoidremove(ScheduledTaskHandler handler) Operation removevoidstartNow(ScheduledTask task) Operation startNowvoidstop(ScheduledTask task) Operation stopupdate(ScheduledTask task) Operation updateupdate(ScheduledTaskHandler handler) Operation update
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
isStopping
Operation isStopping- Parameters:
task-- Returns:
- Throws:
InternalErrorException
-
create
Operation create- Parameters:
task-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findById
Operation findById Finds a scheduled task by handler and params- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
findScheduledTaskByHandlerAndParams
ScheduledTask findScheduledTaskByHandlerAndParams(String handler, String params) throws InternalErrorException Operation findScheduledTaskByHandlerAndParams Finds a scheduled task by handler and params- Parameters:
handler-params-- Returns:
- Throws:
InternalErrorException
-
load
Operation load- Parameters:
taskId-- Returns:
- Throws:
InternalErrorException
-
update
Operation update- Parameters:
task-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
create
ScheduledTaskHandler create(ScheduledTaskHandler handler) throws InternalErrorException, InternalErrorException Operation create- Parameters:
handler-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
update
ScheduledTaskHandler update(ScheduledTaskHandler handler) throws InternalErrorException, InternalErrorException Operation update- Parameters:
handler-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
listEnabledTasks
Operation listEnabledTasks- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
listHandlers
Operation listHandlers- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
listServerTasks
List<ScheduledTask> listServerTasks(String server) throws InternalErrorException, InternalErrorException Operation listServerTasks- Parameters:
server-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
listTasks
Operation listTasks- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
registerEndTask
Operation registerEndTask- Parameters:
task-- Throws:
InternalErrorExceptionInternalErrorException
-
registerStartTask
Operation registerStartTask- Parameters:
task-- Throws:
InternalErrorExceptionInternalErrorException
-
remove
Operation remove- Parameters:
task-- Throws:
InternalErrorExceptionInternalErrorException
-
remove
Operation remove- Parameters:
handler-- Throws:
InternalErrorExceptionInternalErrorException
-
startNow
Operation startNow- Parameters:
task-- Throws:
InternalErrorException
-
stop
Operation stop- Parameters:
task-- Throws:
InternalErrorException
-