public interface ScheduleTaskAgent
ScheduleTaskFactory
s.Modifier and Type | Field and Description |
---|---|
static SpecialistType<ScheduleTaskAgent> |
TYPE
Agent providing access to all available
ScheduleTaskFactory s. |
Modifier and Type | Method and Description |
---|---|
Set<ScheduleTaskFactory<? extends ScheduleTaskFactory.TaskDto,? extends ScheduleTask>> |
getTaskFactories()
Get all available
ScheduleTaskFactory s. |
Optional<ScheduleTaskFactory<? extends ScheduleTaskFactory.TaskDto,? extends ScheduleTask>> |
getTaskFactory(Class<? extends ScheduleTaskApplication<?>> applicationClass)
Get the
ScheduleTaskFactory responsible for creating and executing schedule tasks defined by a
ScheduleTaskApplication . |
static final SpecialistType<ScheduleTaskAgent> TYPE
ScheduleTaskFactory
s.
The agent's technical type can be used to request the agent from a SpecialistsBroker
.@NotNull Set<ScheduleTaskFactory<? extends ScheduleTaskFactory.TaskDto,? extends ScheduleTask>> getTaskFactories()
ScheduleTaskFactory
s. This includes all build in FirstSpirit factories and custom
factories implemented by ScheduleTaskApplication
s.ScheduleTaskFactory
s.Optional<ScheduleTaskFactory<? extends ScheduleTaskFactory.TaskDto,? extends ScheduleTask>> getTaskFactory(@NotNull Class<? extends ScheduleTaskApplication<?>> applicationClass)
ScheduleTaskFactory
responsible for creating and executing schedule tasks defined by a
ScheduleTaskApplication
.applicationClass
- The type of ScheduleTaskApplication
implementing the execution and persistency of
a schedule task.Optional
with a ScheduleTaskFactory
responsible for creating and executing tasks of
the desired type or an empty Optional
if no matching ScheduleTaskFactory
is found.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210