public class WorkflowStep extends AbstractBean
Constructor and Description |
---|
WorkflowStep()
Create a new instance of the workflow step.
|
Modifier and Type | Method and Description |
---|---|
Date |
getCreateDate()
Return the date when the workflow step was created.
|
Person |
getCreator()
Return the PersonBean that is the creator of the workflow
|
WorkflowToolData |
getInput(String id)
Returns a specific input.
|
Map<String,String> |
getInputs()
Returns a map of inputs from the workflow step.
|
Map<String,WorkflowToolData> |
getInputsToolData()
Returns a map of id of step's input to the tool's data definition.
|
WorkflowToolData |
getOutput(String id)
Returns a specific output.
|
Map<String,String> |
getOutputs()
Returns a map of outputs from the workflow step.
|
Map<String,WorkflowToolData> |
getOutputsToolData()
Returns a map of id of step's output to the tool's data definition.
|
WorkflowToolParameter |
getParameter(String id)
Returns a specific parameter.
|
Map<String,String> |
getParameters()
Returns a map of parameters from the workflow step.
|
String |
getTitle()
Return the title of the workflow step.
|
WorkflowTool |
getTool()
Return the tool for the workflow step.
|
void |
setCreateDate(Date createDate)
Sets the date when the workflow step was created.
|
void |
setCreator(Person creator)
Sets the PersonBean that represents the creator of the workflow.
|
void |
setInput(String inputid,
String outputid)
Maps the input of the tool to a specific output generated in another
step.
|
void |
setInput(WorkflowToolData input,
String outputid)
Maps the input of the tool to a specific output generated in another
step.
|
void |
setInputs(Map<String,String> inputs) |
void |
setOutputs(Map<String,String> outputs) |
void |
setParameters(Map<String,String> parameters) |
void |
setTitle(String title)
Sets the title of the workflow step.
|
void |
setTool(WorkflowTool tool)
Sets the tool for the workflow step.
|
equals, getId, hashCode, isDeleted, setDeleted, setId
public String getTitle()
public void setTitle(String title)
title
- sets the title of the workflow step.public Date getCreateDate()
public void setCreateDate(Date createDate)
date
- sets the date when the workflow step was created.public Person getCreator()
public void setCreator(Person creator)
creator
- sets the PersonBean that represents the creator of the
workflow.public WorkflowTool getTool()
public void setTool(WorkflowTool tool)
t
- sets the tool for the workflow step.public Map<String,String> getOutputs()
public Map<String,WorkflowToolData> getOutputsToolData()
public WorkflowToolData getOutput(String id)
id
- the unique id for this step for the outputs generated by the
tool.IllegalArgumentException
- throws IllegalArgumentException if the output is not
found.public Map<String,String> getInputs()
public Map<String,WorkflowToolData> getInputsToolData()
public WorkflowToolData getInput(String id)
id
- the unique id for another step for the outputs generated by
the tool.IllegalArgumentException
- throws IllegalArgumentException if the input is not
found.public void setInput(WorkflowToolData input, String outputid)
input
- the input of the tool that will be mapped.outputid
- the unique id generated as output by another step.public void setInput(String inputid, String outputid)
input
- the input of the tool that will be mapped.outputid
- the unique id generated as output by another step.public Map<String,String> getParameters()
public WorkflowToolParameter getParameter(String id)
id
- the unique id for this step for the parameter generated by
the tool.IllegalArgumentException
- throws IllegalArgumentException if the parameter is not
found.Copyright © 2017. All rights reserved.