Package ghidra.debug.api.progress
Interface CloseableTaskMonitor
- All Superinterfaces:
AutoCloseable,TaskMonitor
A task monitor that can be used in a try-with-resources block.
-
Field Summary
Fields inherited from interface ghidra.util.task.TaskMonitor
DUMMY, NO_PROGRESS_VALUE -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidreportError(Throwable error) Report an error while working on this taskMethods inherited from interface ghidra.util.task.TaskMonitor
addCancelledListener, cancel, checkCanceled, checkCancelled, clearCanceled, clearCancelled, getMaximum, getMessage, getProgress, increment, increment, incrementProgress, incrementProgress, initialize, initialize, isCancelEnabled, isCancelled, isIndeterminate, removeCancelledListener, setCancelEnabled, setIndeterminate, setMaximum, setMessage, setProgress, setShowProgressValue
-
Method Details
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-
reportError
Report an error while working on this task- Parameters:
error- the error
-