public abstract class CancelableCommandRunnable extends Object implements CancelableRunnable
Modifier and Type | Field and Description |
---|---|
protected Command |
currentCommand |
Constructor and Description |
---|
CancelableCommandRunnable() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
protected abstract void |
executeCommand() |
void |
run() |
void |
waitUntilExecuted() |
protected volatile Command currentCommand
public void waitUntilExecuted()
public void cancel()
cancel
in interface CancelableRunnable
protected abstract void executeCommand()
Copyright © 2016. All rights reserved.