D
- Type of schedule task data.public interface ScheduleTaskApplication<D extends ScheduleTaskData>
Modifier and Type | Method and Description |
---|---|
D |
createData()
Create a new custom data container for storing application specific configuration information.
|
<A> A |
getAspect(ApplicationAspectType<A> type)
Look up a specific aspect that may be supported by this application.
|
String |
getDescription(Locale locale)
Provides a description for this application, preferably respecting the given locale.
|
ScheduleTaskExecutor<D> |
getExecutor()
Provides an executor providing the application logic.
|
String |
getName(Locale locale)
Provides a name for this application, preferably respecting the given locale.
|
boolean |
isApplicable(ScheduleTaskDefinitionContext context)
Indicates the applicability of this application's tasks wrt. the given task definition context.
|
@Nullable <A> A getAspect(ApplicationAspectType<A> type)
A
- The object type of the aspect.type
- The type of aspect.null
, if the aspect is not supported.@NotNull String getName(@NotNull Locale locale)
locale
- The locale the name is requested for.@Nullable String getDescription(@NotNull Locale locale)
locale
- The locale the description is requested for.null
.boolean isApplicable(@NotNull ScheduleTaskDefinitionContext context)
context
- The context.true
, if applicable for use.@NotNull ScheduleTaskExecutor<D> getExecutor()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210