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).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
ASimpleProgressMonitor
that sends progress to a log. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface qupath.lib.plugins.TaskRunner
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:
-