@ForUseOnly public interface ScheduleTaskControl
Modifier and Type | Method and Description |
---|---|
<A> A |
getAspect(ScheduleTaskAspectType<A> type)
Provides aspects of the underlying task.
|
String |
getDescription()
Provides a description of the task.
|
int |
getIndex()
Provides the index of the task with respect to the execution chain.
|
String |
getName()
Provides the name of the task.
|
RunState |
getState()
Provides the current execution state of the task.
|
boolean |
isFinished()
Indicates the task being done.
|
@Nullable <A> A getAspect(@NotNull ScheduleTaskAspectType<A> type)
type
- The aspect type.null
, if not supported by the task.int getIndex()
@NotNull String getName()
@Nullable String getDescription()
boolean isFinished()
true
, if finished.Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210