Uses of Record Class
org.sterl.spring.persistent_tasks.api.TaskId
Packages that use TaskId
Package
Description
-
Uses of TaskId in org.sterl.spring.persistent_tasks.api
Methods in org.sterl.spring.persistent_tasks.api that return TaskIdModifier and TypeMethodDescriptionstatic TaskId
<Serializable> AddTriggerRequest.taskId()
TriggerKey.toTaskId()
Methods in org.sterl.spring.persistent_tasks.api with parameters of type TaskIdModifier and TypeMethodDescription<T extends Serializable>
AddTriggerRequest<T> TriggerKey.newTrigger
(String id, TaskId<T> taskId, T state) <T extends Serializable>
AddTriggerRequest<T> TriggerKey.newTrigger
(String id, TaskId<T> taskId, T state, OffsetDateTime when) <T extends Serializable>
AddTriggerRequest<T> TriggerKey.newTrigger
(TaskId<T> taskId) Just triggers the given persistentTask to be executed usingnull
as state.<T extends Serializable>
AddTriggerRequest<T> TriggerKey.newTrigger
(TaskId<T> taskId, T state) static TriggerKey
TriggerKey.of
(String id, TaskId<? extends Serializable> taskId) -
Uses of TaskId in org.sterl.spring.persistent_tasks.task
Methods in org.sterl.spring.persistent_tasks.task that return TaskIdModifier and TypeMethodDescriptionTaskService.register
(String name, Consumer<Serializable> task) A way to manually register a PersistentTask, usually better to usePersistentTask
.<T extends Serializable>
TaskId<T> TaskService.register
(String name, PersistentTask<T> task) A way to manually register a PersistentTask, usually not needed as spring beans will be added automatically.<T extends Serializable>
TaskId<T> TaskService.register
(TaskId<T> id, PersistentTask<T> task) A way to manually register a PersistentTask, usually not needed as spring beans will be added automatically.<T extends Serializable>
TaskId<T> TaskService.replace
(String name, PersistentTask<T> task) A way to manually register a PersistentTask, usually not needed as spring beans will be added automatically.Methods in org.sterl.spring.persistent_tasks.task that return types with arguments of type TaskIdModifier and TypeMethodDescriptionSet
<TaskId<? extends Serializable>> TaskService.findAllTaskIds()
Methods in org.sterl.spring.persistent_tasks.task with parameters of type TaskIdModifier and TypeMethodDescription<T extends Serializable>
PersistentTask<T> TaskService.assertIsKnown
(TaskId<T> id) Check if thePersistentTask
is known or not.<T extends Serializable>
Optional<PersistentTask<T>> <T extends Serializable>
TaskId<T> TaskService.register
(TaskId<T> id, PersistentTask<T> task) A way to manually register a PersistentTask, usually not needed as spring beans will be added automatically. -
Uses of TaskId in org.sterl.spring.persistent_tasks.task.repository
Methods in org.sterl.spring.persistent_tasks.task.repository that return TaskIdModifier and TypeMethodDescription<T extends Serializable>
TaskId<T> TaskRepository.addTask
(TaskId<T> taskId, PersistentTask<T> task) Methods in org.sterl.spring.persistent_tasks.task.repository that return types with arguments of type TaskIdMethods in org.sterl.spring.persistent_tasks.task.repository with parameters of type TaskIdModifier and TypeMethodDescription<T extends Serializable>
TaskId<T> TaskRepository.addTask
(TaskId<T> taskId, PersistentTask<T> task) boolean
TaskRepository.contains
(TaskId<? extends Serializable> id) <T extends Serializable>
Optional<PersistentTask<T>> <T extends Serializable>
PersistentTask<? extends Serializable> -
Uses of TaskId in org.sterl.spring.persistent_tasks.trigger
Methods in org.sterl.spring.persistent_tasks.trigger with parameters of type TaskIdModifier and TypeMethodDescriptionlong
TriggerService.countTriggers
(TaskId<?> taskId) Counts the trigger using the name only from theTaskId
org.springframework.data.domain.Page
<TriggerEntity> TriggerService.findAllTriggers
(TaskId<?> task, org.springframework.data.domain.Pageable page) -
Uses of TaskId in org.sterl.spring.persistent_tasks.trigger.component
Methods in org.sterl.spring.persistent_tasks.trigger.component with parameters of type TaskIdModifier and TypeMethodDescriptionorg.springframework.data.domain.Page
<TriggerEntity> ReadTriggerComponent.listTriggers
(TaskId<? extends Serializable> task, org.springframework.data.domain.Pageable page)