Package com.biglybt.core.disk.impl
Class DiskManagerAllocationScheduler.AllocationInstance.Callback
- java.lang.Object
-
- com.biglybt.core.CoreOperationTask.ProgressCallbackAdapter
-
- com.biglybt.core.disk.impl.DiskManagerAllocationScheduler.AllocationInstance.Callback
-
- All Implemented Interfaces:
CoreOperationTask.ProgressCallback
,java.lang.Comparable<CoreOperationTask.ProgressCallback>
- Enclosing class:
- DiskManagerAllocationScheduler.AllocationInstance
class DiskManagerAllocationScheduler.AllocationInstance.Callback extends CoreOperationTask.ProgressCallbackAdapter
-
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
cancelled
(package private) DownloadManager
dm
-
Fields inherited from interface com.biglybt.core.CoreOperationTask.ProgressCallback
ST_BUTTONS, ST_CANCEL, ST_NONE, ST_PAUSE, ST_QUEUED, ST_RESUME, ST_SUBTASKS, STYLE_MODAL, STYLE_NO_CLOSE, STYLE_NONE
-
-
Constructor Summary
Constructors Constructor Description Callback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getProgress()
long
getSize()
java.lang.String
getSubTaskName()
int
getSupportedTaskStates()
int
getTaskState()
void
setTaskState(int state)
-
Methods inherited from class com.biglybt.core.CoreOperationTask.ProgressCallbackAdapter
compareTo, getOrder, isAutoPause, setAutoPause, setOrder, setProgress, setSize, setSubTaskName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.biglybt.core.CoreOperationTask.ProgressCallback
getDelay, getStyle
-
-
-
-
Field Detail
-
dm
final DownloadManager dm
-
cancelled
boolean cancelled
-
-
Method Detail
-
getProgress
public int getProgress()
- Specified by:
getProgress
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
getProgress
in classCoreOperationTask.ProgressCallbackAdapter
-
getSize
public long getSize()
- Specified by:
getSize
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
getSize
in classCoreOperationTask.ProgressCallbackAdapter
-
getSubTaskName
public java.lang.String getSubTaskName()
- Specified by:
getSubTaskName
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
getSubTaskName
in classCoreOperationTask.ProgressCallbackAdapter
-
getSupportedTaskStates
public int getSupportedTaskStates()
- Specified by:
getSupportedTaskStates
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
getSupportedTaskStates
in classCoreOperationTask.ProgressCallbackAdapter
-
getTaskState
public int getTaskState()
- Specified by:
getTaskState
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
getTaskState
in classCoreOperationTask.ProgressCallbackAdapter
-
setTaskState
public void setTaskState(int state)
- Specified by:
setTaskState
in interfaceCoreOperationTask.ProgressCallback
- Overrides:
setTaskState
in classCoreOperationTask.ProgressCallbackAdapter
-
-