public class InstantGroupRunnable extends InstantRunnable implements ScheduleableGroupAction
| Modifier and Type | Field and Description |
|---|---|
protected ScheduleableGroupAction |
target |
actions, allowToChange, removeElementAfterActionheadTask, nextTask, previousTask| Constructor and Description |
|---|
InstantGroupRunnable(ScheduleableGroupAction target,
boolean removeElementAfterAction)
Constructor of InstantGroupRunnable.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doGroupAction(Object obj)
The function to be run on the objects when there is time.
|
void |
run()
Implements for TaskRunnable.
|
addElement, getRunPeriod, isEmpty, removeElement, resetcancel, getHeadTask, isScheduled, next, previous, scheduledExecutionTime, setHeadTask, setNext, setPreviousprotected ScheduleableGroupAction target
public InstantGroupRunnable(ScheduleableGroupAction target, boolean removeElementAfterAction)
target - The ScheduleableGroupAction interface to be run on the
objects when there is timeremoveElementAfterAction - Whether to remove the elements after
running the ScheduleableGroupAction on the objectspublic void run()
run in interface Runnablerun in class InstantRunnablepublic void doGroupAction(Object obj)
doGroupAction in interface ScheduleableGroupActionobj - The object the function act onCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.