Package ghidra.util.task
Class UnknownProgressWrappingTaskMonitor
java.lang.Object
ghidra.util.task.WrappingTaskMonitor
ghidra.util.task.UnknownProgressWrappingTaskMonitor
- All Implemented Interfaces:
TaskMonitor
A class that is meant to wrap a
TaskMonitor when you do not know the maximum value
of the progress.-
Field Summary
Fields inherited from class ghidra.util.task.WrappingTaskMonitor
delegateFields inherited from interface ghidra.util.task.TaskMonitor
DUMMY, NO_PROGRESS_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidincrementProgress(long incrementAmount) Changes the progress value by the specified amount.voidsetProgress(long value) Sets the current progress valueMethods inherited from class ghidra.util.task.WrappingTaskMonitor
addCancelledListener, cancel, checkCanceled, checkCancelled, clearCanceled, getMaximum, getMessage, getProgress, initialize, isCancelEnabled, isCancelled, isIndeterminate, removeCancelledListener, setCancelEnabled, setDelegate, setIndeterminate, setMaximum, setMessage, setShowProgressValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.util.task.TaskMonitor
clearCancelled, increment, increment, incrementProgress, initialize
-
Constructor Details
-
UnknownProgressWrappingTaskMonitor
-
UnknownProgressWrappingTaskMonitor
-
-
Method Details
-
setProgress
public void setProgress(long value) Description copied from interface:TaskMonitorSets the current progress value- Specified by:
setProgressin interfaceTaskMonitor- Overrides:
setProgressin classWrappingTaskMonitor- Parameters:
value- progress value
-
incrementProgress
public void incrementProgress(long incrementAmount) Description copied from interface:TaskMonitorChanges the progress value by the specified amount.- Specified by:
incrementProgressin interfaceTaskMonitor- Overrides:
incrementProgressin classWrappingTaskMonitor- Parameters:
incrementAmount- The amount by which to increment the progress
-