Package org.cyclos.impl.utils.tasks
Class CustomBackgroundTaskScheduling
- java.lang.Object
-
- org.cyclos.impl.utils.tasks.BaseBackgroundTaskScheduling<CustomBackgroundTaskScheduling>
-
- org.cyclos.impl.utils.tasks.CustomBackgroundTaskScheduling
-
public class CustomBackgroundTaskScheduling extends BaseBackgroundTaskScheduling<CustomBackgroundTaskScheduling>
Parameters to schedule a background task
-
-
Constructor Summary
Constructors Constructor Description CustomBackgroundTaskScheduling(Consumer<CustomBackgroundTaskScheduling> callback, CustomBackgroundTask task, Object context, Long forkJoinId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClassName()BackgroundTaskPrioritygetPriority()CustomBackgroundTaskgetTask()voidschedule()Schedules this task for execution-
Methods inherited from class org.cyclos.impl.utils.tasks.BaseBackgroundTaskScheduling
display, getContext, getDisplay, getForkJoinId, getStartAfter, isAsSoonAsPossible, self, setStartAfter, startAfter
-
-
-
-
Constructor Detail
-
CustomBackgroundTaskScheduling
public CustomBackgroundTaskScheduling(Consumer<CustomBackgroundTaskScheduling> callback, CustomBackgroundTask task, Object context, Long forkJoinId)
-
-
Method Detail
-
getClassName
public String getClassName()
- Specified by:
getClassNamein classBaseBackgroundTaskScheduling<CustomBackgroundTaskScheduling>
-
getPriority
public BackgroundTaskPriority getPriority()
- Specified by:
getPriorityin classBaseBackgroundTaskScheduling<CustomBackgroundTaskScheduling>
-
getTask
public CustomBackgroundTask getTask()
-
schedule
public void schedule()
Schedules this task for execution
-
-