Package qupath.lib.plugins
Class CommandLineTaskRunner
java.lang.Object
qupath.lib.plugins.AbstractTaskRunner
qupath.lib.plugins.CommandLineTaskRunner
- All Implemented Interfaces:
TaskRunner
A PluginRunner that simply logs progress and output.
This doesn't need to be run on any particular thread (e.g. the JavaFX Application thread).
- Author:
- Pete Bankhead
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
ASimpleProgressMonitor
that sends progress to a log. -
Constructor Summary
ConstructorDescriptionConstructor for a PluginRunner that send progress to a log, and runs tasks using the default number of threadsCommandLineTaskRunner
(int nThreads) Constructor for a PluginRunner that send progress to a log. -
Method Summary
Modifier and TypeMethodDescriptionCreate a progress monitor to update the user on what is happening.Methods inherited from class qupath.lib.plugins.AbstractTaskRunner
awaitCompletion, isCancelled, postProcess, runTasks
-
Constructor Details
-
CommandLineTaskRunner
public CommandLineTaskRunner()Constructor for a PluginRunner that send progress to a log, and runs tasks using the default number of threads -
CommandLineTaskRunner
public CommandLineTaskRunner(int nThreads) Constructor for a PluginRunner that send progress to a log.- Parameters:
nThreads
- the number of threads to use when running tasks
-
-
Method Details
-
makeProgressMonitor
Description copied from class:AbstractTaskRunner
Create a progress monitor to update the user on what is happening.- Specified by:
makeProgressMonitor
in classAbstractTaskRunner
- Returns:
-