public class Workflow extends AbstractBean
Constructor and Description |
---|
Workflow()
Create a new instance of the workflow.
|
Modifier and Type | Method and Description |
---|---|
void |
addContributor(Person contributor)
Add the contributor to the set of contributors to the workflow.
|
void |
addStep(WorkflowStep step)
Add the step to the list of steps in the workflow.
|
Collection<Person> |
getContributors()
Return the set of PersonBeans that represents those that are contributors
to the workflow.
|
Date |
getCreated()
Return the date when the workflow was created.
|
Person |
getCreator()
Return the PersonBean that is the creator of the workflow
|
String |
getDescription()
Return the description of the workflow.
|
WorkflowToolData |
getOutput(String id) |
WorkflowStep |
getStep(String step)
Retrieve a specific step from the workflow.
|
List<WorkflowStep> |
getSteps()
Retrieve the list of steps of a workflow.
|
String |
getTitle()
Return the title of the workflow.
|
void |
removeContributor(Person contributor)
Remove the contributor from the set of contributors to the worflow.
|
void |
setContributors(List<Person> contributors)
Set the set of PersonBeans that represents those that contributed to the
workflow.
|
void |
setCreated(Date created)
Sets the date when the workflow was created.
|
void |
setCreator(Person creator)
Sets the PersonBean that represents the creator of the workflow.
|
void |
setDescription(String description)
Sets the description of the workflow
|
void |
setSteps(List<WorkflowStep> steps)
Set the list of steps of a workflow.
|
void |
setTitle(String title)
Sets the title of the workflow
|
String |
toString() |
equals, getId, hashCode, isDeleted, setDeleted, setId
public String getTitle()
public void setTitle(String title)
title
- sets the title of the workflow.public String getDescription()
public void setDescription(String description)
description
- sets the description of the workflow.public Date getCreated()
public void setCreated(Date created)
created
- sets the date when the workflow was created.public Person getCreator()
public void setCreator(Person creator)
creator
- sets the PersonBean that represents the creator of the
workflow.public Collection<Person> getContributors()
public void setContributors(List<Person> contributors)
contributors
- the set of contributors to the workflow.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<WorkflowStep> getSteps()
public WorkflowStep getStep(String step)
public void setSteps(List<WorkflowStep> steps)
steps
- list of steps as they have been added to the workflow.public WorkflowToolData getOutput(String id)
public void addStep(WorkflowStep step)
step
- the WorkflowStepBean to be added.Copyright © 2017. All rights reserved.