Class WorkflowStepImpl
- All Implemented Interfaces:
Documented,HasStepErrors,HasStepPosition,HasUUID,Identified,Labeled,ReferencesTool,Savable,WorkflowStep
This represents a non-input step a Galaxy Workflow.# A note about `state` and `tool_state` fields.
Only one or the other should be specified. These are two ways to represent the "state" of a tool at this workflow step. Both are essentially maps from parameter names to parameter values.
`tool_state` is much more low-level and expects a flat dictionary with each value a JSON dump. Nested tool structures such as conditionals and repeats should have all their values in the JSON dumped string. In general `tool_state` may be present in workflows exported from Galaxy but shouldn't be written by humans.
`state` can contained a typed map. Repeat values can be represented as YAML arrays. An alternative to representing `state` this way is defining inputs with default values.
-
Constructor Summary
ConstructorsConstructorDescriptionWorkflowStepImpl(Object __doc_, String __baseUri_, LoadingOptions __loadingOptions, String __docRoot_) Used byRootLoaderto construct instances of WorkflowStepImpl. -
Method Summary
Modifier and TypeMethodDescriptiongetDoc()Getter for property https://w3id.org/cwl/salad#Documented/doc
A documentation string for this object, or an array of strings which should be concatenated.Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasStepErrors/errors
During Galaxy export there may be some problem validating the tool state, tool used, etc..getId()Getter for property https://w3id.org/cwl/cwl#Identified/id
The unique identifier for this object.getIn()Getter for property https://galaxyproject.org/gxformat2/v19_09#in
Defines the input parameters of the workflow step.getLabel()Getter for property https://w3id.org/cwl/cwl#Labeled/label
A short, human-readable label of this object.getOut()Getter for property https://galaxyproject.org/gxformat2/v19_09#out
Defines the parameters representing the output of the process.Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasStepPosition/positiongetRun()Getter for property https://w3id.org/cwl/cwl#run
Specifies a subworkflow to run.Getter for property https://galaxyproject.org/gxformat2/v19_09#WorkflowStep/runtime_inputsgetState()Getter for property https://galaxyproject.org/gxformat2/v19_09#state
Structured tool state.Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_id
The tool ID used to run this step of the workflow (e.g.Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_shed_repository
The Galaxy Tool Shed repository that should be installed in order to use this tool.Getter for property https://galaxyproject.org/gxformat2/v19_09#tool_state
Unstructured tool state.Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_version
The tool version corresponding used to run this step of the workflow.getType()Getter for property https://w3id.org/cwl/salad#type
Workflow step module's type (defaults to 'tool').getUuid()Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasUUID/uuid
UUID uniquely representing this element.
-
Constructor Details
-
WorkflowStepImpl
public WorkflowStepImpl(Object __doc_, String __baseUri_, LoadingOptions __loadingOptions, String __docRoot_) Used byRootLoaderto construct instances of WorkflowStepImpl.- Parameters:
__doc_- Document fragment to load this record object from (presumably aMap).__baseUri_- Base URI to generate child document IDs against.__loadingOptions- Context for loading URIs and populating objects.__docRoot_- ID at this position in the document (if available) (maybe?)- Throws:
ValidationException- If the document fragment is not aMapor validation of fields fails.
-
-
Method Details
-
getId
Getter for property https://w3id.org/cwl/cwl#Identified/id
The unique identifier for this object. *
- Specified by:
getIdin interfaceWorkflowStep
-
getLabel
Getter for property https://w3id.org/cwl/cwl#Labeled/label
A short, human-readable label of this object. *
- Specified by:
getLabelin interfaceLabeled- Specified by:
getLabelin interfaceWorkflowStep
-
getDoc
Getter for property https://w3id.org/cwl/salad#Documented/doc
A documentation string for this object, or an array of strings which should be concatenated. *
- Specified by:
getDocin interfaceDocumented- Specified by:
getDocin interfaceWorkflowStep
-
getPosition
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasStepPosition/position- Specified by:
getPositionin interfaceHasStepPosition- Specified by:
getPositionin interfaceWorkflowStep
-
getTool_id
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_id
The tool ID used to run this step of the workflow (e.g. 'cat1' or 'toolshed.g2.bx.psu.edu/repos/nml/collapse_collections/collapse_dataset/4.0'). *
- Specified by:
getTool_idin interfaceReferencesTool- Specified by:
getTool_idin interfaceWorkflowStep
-
getTool_shed_repository
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_shed_repository
The Galaxy Tool Shed repository that should be installed in order to use this tool. *
- Specified by:
getTool_shed_repositoryin interfaceReferencesTool- Specified by:
getTool_shed_repositoryin interfaceWorkflowStep
-
getTool_version
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#ReferencesTool/tool_version
The tool version corresponding used to run this step of the workflow. For tool shed installed tools, the ID generally uniquely specifies a version and this field is optional. *
- Specified by:
getTool_versionin interfaceReferencesTool- Specified by:
getTool_versionin interfaceWorkflowStep
-
getErrors
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasStepErrors/errors
During Galaxy export there may be some problem validating the tool state, tool used, etc.. that will be indicated by this field. The Galaxy user should be warned of these problems before the workflow can be used in Galaxy.
This field should not be used in human written Galaxy workflow files.
A typical problem is the referenced tool is not installed, this can be fixed by installed the tool and re-saving the workflow and then re-exporting it. *
- Specified by:
getErrorsin interfaceHasStepErrors- Specified by:
getErrorsin interfaceWorkflowStep
-
getUuid
Getter for property https://galaxyproject.org/gxformat2/gxformat2common#HasUUID/uuid
UUID uniquely representing this element. *
- Specified by:
getUuidin interfaceHasUUID- Specified by:
getUuidin interfaceWorkflowStep
-
getIn
Getter for property https://galaxyproject.org/gxformat2/v19_09#in
Defines the input parameters of the workflow step. The process is ready to run when all required input parameters are associated with concrete values. Input parameters include a schema for each parameter which is used to validate the input object. It may also be used build a user interface for constructing the input object. *
- Specified by:
getInin interfaceWorkflowStep
-
getOut
Getter for property https://galaxyproject.org/gxformat2/v19_09#out
Defines the parameters representing the output of the process. May be used to generate and/or validate the output object.
This can also be called 'outputs' for legacy reasons - but the resulting workflow document is not a valid instance of this schema. *
- Specified by:
getOutin interfaceWorkflowStep
-
getState
Getter for property https://galaxyproject.org/gxformat2/v19_09#state
Structured tool state. *
- Specified by:
getStatein interfaceWorkflowStep
-
getTool_state
Getter for property https://galaxyproject.org/gxformat2/v19_09#tool_state
Unstructured tool state. *
- Specified by:
getTool_statein interfaceWorkflowStep
-
getType
Getter for property https://w3id.org/cwl/salad#type
Workflow step module's type (defaults to 'tool'). *
- Specified by:
getTypein interfaceWorkflowStep
-
getRun
Getter for property https://w3id.org/cwl/cwl#run
Specifies a subworkflow to run. *
- Specified by:
getRunin interfaceWorkflowStep
-
getRuntime_inputs
Getter for property https://galaxyproject.org/gxformat2/v19_09#WorkflowStep/runtime_inputs- Specified by:
getRuntime_inputsin interfaceWorkflowStep
-