Package qupath.lib.plugins.workflow
Class SimplePluginWorkflowStep
java.lang.Object
qupath.lib.plugins.workflow.SimplePluginWorkflowStep
- All Implemented Interfaces:
- Externalizable,- Serializable,- ScriptableWorkflowStep,- WorkflowStep
public class SimplePluginWorkflowStep
extends Object
implements ScriptableWorkflowStep, Externalizable
Updated version of DefaultPluginWorkflowStep, adapted to use Externalizable and to avoid storing the plugin class as a class object 
 (preferring a String instead).
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionDefault public constructor, required for Externalizable.SimplePluginWorkflowStep(String name, Class<? extends PathPlugin<?>> pluginClass, String arg) Constructor for a workflow step that calls a plugin.SimplePluginWorkflowStep(String name, Class<? extends PathPlugin<?>> pluginClass, String arg, String scriptBefore, String scriptAfter) Constructor for a workflow step that calls a plugin, which optionally should include additional scripting lines before or afterwards.
- 
Method Summary
- 
Constructor Details- 
SimplePluginWorkflowSteppublic SimplePluginWorkflowStep()Default public constructor, required for Externalizable. Shouldn't be used directly! Doing so would give an ineffective script...
- 
SimplePluginWorkflowSteppublic SimplePluginWorkflowStep(String name, Class<? extends PathPlugin<?>> pluginClass, String arg) Constructor for a workflow step that calls a plugin.- Parameters:
- name-
- pluginClass-
- arg-
 
- 
SimplePluginWorkflowSteppublic SimplePluginWorkflowStep(String name, Class<? extends PathPlugin<?>> pluginClass, String arg, String scriptBefore, String scriptAfter) Constructor for a workflow step that calls a plugin, which optionally should include additional scripting lines before or afterwards.- Parameters:
- name-
- pluginClass-
- arg-
- scriptBefore-
- scriptAfter-
 
 
- 
- 
Method Details- 
getNameDescription copied from interface:WorkflowStepGet the name of the workflow step.- Specified by:
- getNamein interface- WorkflowStep
- Returns:
 
- 
getPluginClassGet the full name of the plugin class.- Returns:
 
- 
getParameterMapDescription copied from interface:WorkflowStepGet a map of parameters required for this step.- Specified by:
- getParameterMapin interface- WorkflowStep
- Returns:
 
- 
toString
- 
getScriptDescription copied from interface:ScriptableWorkflowStepGet one or more script lines that may be used to apply the step.- Specified by:
- getScriptin interface- ScriptableWorkflowStep
- Returns:
 
- 
writeExternal- Specified by:
- writeExternalin interface- Externalizable
- Throws:
- IOException
 
- 
readExternal- Specified by:
- readExternalin interface- Externalizable
- Throws:
- IOException
- ClassNotFoundException
 
 
-