Package qupath.lib.plugins.workflow
Class DefaultScriptableWorkflowStep
java.lang.Object
qupath.lib.plugins.workflow.DefaultScriptableWorkflowStep
- All Implemented Interfaces:
Serializable,ScriptableWorkflowStep,WorkflowStep
A scriptable workflow step where the script is provided directly as an argument.
- Author:
- Pete Bankhead
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultScriptableWorkflowStep(String name, String script) Create a workflow step using a provided script string that will be called as-is.DefaultScriptableWorkflowStep(String name, Map<String, ?> parameterMap, String script) Constructor that takes a parameter map for display. -
Method Summary
-
Constructor Details
-
DefaultScriptableWorkflowStep
Constructor that takes a parameter map for display.The parameter map isn't embedded in the script by default - this script that is passed should be complete.
- Parameters:
name-parameterMap-script-
-
DefaultScriptableWorkflowStep
Create a workflow step using a provided script string that will be called as-is.- Parameters:
name-script-
-
-
Method Details
-
getName
Description copied from interface:WorkflowStepGet the name of the workflow step.- Specified by:
getNamein interfaceWorkflowStep- Returns:
-
getParameterMap
Description copied from interface:WorkflowStepGet a map of parameters required for this step.- Specified by:
getParameterMapin interfaceWorkflowStep- Returns:
-
toString
-
getScript
Description copied from interface:ScriptableWorkflowStepGet one or more script lines that may be used to apply the step.- Specified by:
getScriptin interfaceScriptableWorkflowStep- Returns:
-
hashCode
public int hashCode() -
equals
-