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
ConstructorDescriptionDefaultScriptableWorkflowStep
(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:WorkflowStep
Get the name of the workflow step.- Specified by:
getName
in interfaceWorkflowStep
- Returns:
-
getParameterMap
Description copied from interface:WorkflowStep
Get a map of parameters required for this step.- Specified by:
getParameterMap
in interfaceWorkflowStep
- Returns:
-
toString
-
getScript
Description copied from interface:ScriptableWorkflowStep
Get one or more script lines that may be used to apply the step.- Specified by:
getScript
in interfaceScriptableWorkflowStep
- Returns:
-
hashCode
public int hashCode() -
equals
-