public class TileImpl.CancelTaskImpl extends Object implements ICancellable
Constructor and Description |
---|
TileImpl.CancelTaskImpl() |
Modifier and Type | Method and Description |
---|---|
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 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
- IOException