-
public class ParallelCommand extends Command
Executes a list of commands in sequence.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
ParallelCommand.ParallelCommandBuilder
-
Method Summary
Modifier and Type Method Description static ParallelCommand.ParallelCommandBuilder
parallel(Command command)
Add a new command to be executed in parallel. void
onStart()
Start all commands in the list. void
periodic()
Periodically execution of all commands on the list. -
-
Method Detail
-
parallel
static ParallelCommand.ParallelCommandBuilder parallel(Command command)
Add a new command to be executed in parallel.
- Parameters:
command
- command to be executed in parallel.
-
onStart
void onStart()
Start all commands in the list.
-
periodic
void periodic()
Periodically execution of all commands on the list.
-
-
-
-