public class TileImpl.CancelTaskImpl extends java.lang.Object implements ICancellable
DUMB
Constructor and Description |
---|
CancelTaskImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getID()
Used to cancel only a group of downloads tasks with the same
identifier.
|
boolean |
isCanceled()
Returns
true if a download or a group of downloads tasks has
been canceled. |
void |
setCanceled(boolean cancel)
Cancel the task
|
public java.lang.Object getID()
ICancellable
Used to cancel only a group of downloads tasks with the same identifier.
getID
in interface ICancellable
public boolean isCanceled()
ICancellable
Returns true
if a download or a group of downloads tasks has
been canceled.
isCanceled
in interface ICancellable
true
if a download or a group of downloads tasks has
been canceled, otherwise false
public void setCanceled(boolean cancel)
cancel
- java.io.IOException