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()
ICancellableUsed to cancel only a group of downloads tasks with the same identifier.
getID in interface ICancellablepublic boolean isCanceled()
ICancellableReturns true if a download or a group of downloads tasks has been canceled.
isCanceled in interface ICancellabletrue if a download or a group of downloads tasks has been canceled, otherwise falsepublic void setCanceled(boolean cancel)
cancel - IOException