public class WorkflowTool extends AbstractBean
Constructor and Description |
---|
WorkflowTool()
Create a new instance of the workflow tool.
|
Modifier and Type | Method and Description |
---|---|
void |
addBlob(FileDescriptor blob)
Add the blob to the set of blobs to the workflow tool.
|
void |
addContributor(Person contributor)
Add the contributor to the set of contributors to the workflow tool.
|
void |
addInput(WorkflowToolData data)
Add the data to list of inputs to the workflow tool.
|
void |
addOutput(WorkflowToolData data)
Add the data to list of outputs to the workflow tool.
|
void |
addParameter(WorkflowToolParameter parameter)
Add the parameter from the set of parameters to the workflow tool.
|
Set<FileDescriptor> |
getBlobs()
Return the set of blobs associated with the workflow too.
|
Set<Person> |
getContributors()
Return the set of PersonBeans that represents those that are contributors
to the workflow tool.
|
Person |
getCreator()
Return the PersonBean that is the creator of the workflow tool
|
Date |
getDate()
Return the date when the workflow tool was created.
|
String |
getDescription()
Return the description of the workflow tool.
|
String |
getExecutor()
Return the executor of the tool
|
String |
getImplementation()
Return the implementation of the tool
|
WorkflowToolData |
getInput(String id)
Return the input associated with this id.
|
List<WorkflowToolData> |
getInputs()
Return the collection of datasets that are inputs to the tool.
|
WorkflowToolData |
getOutput(String id)
Return the output associated with this id.
|
List<WorkflowToolData> |
getOutputs()
Return the collection of datasets that are outputs to the tool.
|
WorkflowToolParameter |
getParameter(String id)
Return the parameter associated with this id.
|
List<WorkflowToolParameter> |
getParameters()
Return the collection of parameters of the tool.
|
WorkflowTool |
getPreviousVersion()
Return the previous version of the workflow tool.
|
String |
getTitle()
Return the title of the workflow tool.
|
String |
getVersion()
Return the version of the workflow tool.
|
void |
removeBlob(FileDescriptor blob)
Remove the blob from the set of blobs of the worflow tool.
|
void |
removeContributor(Person contributor)
Remove the contributor from the set of contributors to the worflow tool.
|
void |
removeInput(WorkflowToolData data)
Remove the data from list of inputs to the workflow tool.
|
void |
removeOutput(WorkflowToolData data)
Remove the data from list of outputs to the workflow tool.
|
void |
removeParameter(WorkflowToolParameter parameter)
Remove the parameter from the set of parameters to the workflow tool.
|
void |
setBlobs(Set<FileDescriptor> blobs)
Set the set of blobs associated with the workflow tool.
|
void |
setContributors(Set<Person> contributors)
Set the set of PersonBeans that represents those that contributed to the
workflow tool.
|
void |
setCreator(Person creator)
Sets the PersonBean that represents the creator of the workflow tool.
|
void |
setDate(Date date)
Sets the date when the workflow tool was created.
|
void |
setDescription(String description)
Sets the description of the workflow tool
|
void |
setExecutor(String executor)
Sets the executor of the tool.
|
void |
setImplementation(String implementation)
Sets the implementation of the tool.
|
void |
setInputs(List<WorkflowToolData> inputs)
Set the list of datasets that make up the inputs to the tool.
|
void |
setOutputs(List<WorkflowToolData> outputs)
Set the list of datasets that make up the outputs to the tool.
|
void |
setParameters(List<WorkflowToolParameter> parameters)
Sets the collection of parameters of the tool.
|
void |
setPreviousVersion(WorkflowTool previousVersion)
Sets the previous version of the workflow tool.
|
void |
setTitle(String title)
Sets the title of the workflow tool
|
void |
setVersion(String version)
Sets the version of the workflow tool.
|
String |
toString() |
equals, getId, hashCode, isDeleted, setDeleted, setId
public String getTitle()
public void setTitle(String title)
title
- sets the title of the workflow tool.public String getDescription()
public void setDescription(String description)
description
- sets the description of the workflow toolpublic Date getDate()
public void setDate(Date date)
date
- sets the date when the workflow tool was created.public String getImplementation()
public void setImplementation(String implementation)
implementation
- sets the implementation of the tool.public String getExecutor()
public void setExecutor(String executor)
executor
- sets the executor of the tool.public String getVersion()
public void setVersion(String version)
version
- sets the version of the workflow tool.public WorkflowTool getPreviousVersion()
public void setPreviousVersion(WorkflowTool previousVersion)
previousVersion
- sets the previous version of the workflow tool.public Person getCreator()
public void setCreator(Person creator)
creator
- sets the PersonBeans that represents the creator of the
workflow tool.public Set<Person> getContributors()
public void setContributors(Set<Person> contributors)
contributors
- the set of contributors to the workflow tool.public void addContributor(Person contributor)
contributor
- the PersonBean of the contributor to be added.public void removeContributor(Person contributor)
contributor
- the PersonBean of the contributor to be removed.public List<WorkflowToolData> getInputs()
public void setInputs(List<WorkflowToolData> inputs)
inputs
- the list of datasets to be used as inputs.public WorkflowToolData getInput(String id)
id
- the dataId whose input to return.public void addInput(WorkflowToolData data)
data
- the data to be added as input.public void removeInput(WorkflowToolData data)
data
- the data to be removed as input.public List<WorkflowToolData> getOutputs()
public void setOutputs(List<WorkflowToolData> outputs)
outputs
- the list of datasets to be used as outputs.public WorkflowToolData getOutput(String id)
id
- the id whose output to return.public void addOutput(WorkflowToolData data)
data
- the DatasetBean to be added as output.public void removeOutput(WorkflowToolData data)
data
- the DatasetBean to be removed as output.public List<WorkflowToolParameter> getParameters()
public WorkflowToolParameter getParameter(String id)
id
- the id whose parameter to return.public void setParameters(List<WorkflowToolParameter> parameters)
parameters
- collection of WorkflowParameterBean that represents all the
parameters to the workflow tool.public void addParameter(WorkflowToolParameter parameter)
parameter
- the parameter to be added.public void removeParameter(WorkflowToolParameter parameter)
parameter
- the parameter to be removed.public Set<FileDescriptor> getBlobs()
public void setBlobs(Set<FileDescriptor> blobs)
blobs
- the set of blobs to the workflow tool.public void addBlob(FileDescriptor blob)
blob
- the blob to be added.public void removeBlob(FileDescriptor blob)
blob
- the blob to be removed.Copyright © 2017. All rights reserved.