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
,Comparable<CoreOperationTask.ProgressCallback>
- Enclosing class:
DiskManagerAllocationScheduler.AllocationInstance
class DiskManagerAllocationScheduler.AllocationInstance.Callback
extends CoreOperationTask.ProgressCallbackAdapter
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) final DownloadManager
Fields inherited from class com.biglybt.core.CoreOperationTask.ProgressCallbackAdapter
SORT_ALLOC_ORDER, SORT_EXPLICIT_ORDER, SORT_SIZE
Fields inherited from interface com.biglybt.core.CoreOperationTask.ProgressCallback
ST_BUTTONS, ST_CANCEL, ST_MINIMIZE, ST_NONE, ST_PAUSE, ST_QUEUED, ST_RESUME, ST_SUBTASKS, STYLE_MINIMIZE, STYLE_MODAL, STYLE_NO_CLOSE, STYLE_NONE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.biglybt.core.CoreOperationTask.ProgressCallbackAdapter
compareTo, getAllocID, getIndicativeOrder, getSortParam, isAutoPause, setAutoPause, setIndicativeOrder, 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 Details
-
dm
-
cancelled
boolean cancelled
-
-
Constructor Details
-
Callback
Callback()
-
-
Method Details
-
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
- 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
-