Scheduler.RepeatingCommand
and
Scheduler.scheduleIncremental()
@Deprecated public interface IncrementalCommand extends Scheduler.RepeatingCommand
IncrementalCommand
is a command that is broken into one or
more substeps, each substep brings the whole command nearer to completion.
The command is complete when execute()
returns
false
.
Modifier and Type | Method and Description |
---|---|
boolean |
execute()
Deprecated.
Causes the
IncrementalCommand to execute its encapsulated
behavior. |
boolean execute()
IncrementalCommand
to execute its encapsulated
behavior.execute
in interface Scheduler.RepeatingCommand
true
if the command has more work to do,
false
otherwiseCopyright © 2018. All rights reserved.