public class Workflow extends PermissionsAware implements Serializable, Comparable<Workflow>, Annotatable<WorkflowAttribute>, FirstTierModel
Workflow class.
Constructor and Description |
---|
Workflow()
Constructor for Workflow.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Workflow that) |
boolean |
equals(Object other) |
Set<WorkflowAttribute> |
getAnnotations()
Get the annotations for this model
|
String |
getBaseIniFile()
Getter for the field
baseIniFile . |
String |
getCommand()
Getter for the field
command . |
Date |
getCreateTimestamp()
Getter for the field
createTimestamp . |
String |
getCwd()
Getter for the field
cwd . |
String |
getDescription()
Getter for the field
description . |
String |
getFullName()
getFullName.
|
String |
getHost()
Deprecated.
|
String |
getInputAlgorithm()
Getter for the field
inputAlgorithm . |
String |
getJsonEscapeDescription()
getJsonEscapeDescription.
|
String |
getJsonEscapeFullName()
getJsonEscapeFullName.
|
String |
getJsonEscapeName()
getJsonEscapeName.
|
String |
getName()
Getter for the field
name . |
Registration |
getOwner()
Getter for the field
owner . |
String |
getPermanentBundleLocation()
Getter for the field
permanentBundleLocation . |
boolean |
getPrivate()
getPrivate.
|
boolean |
getPublic()
getPublic.
|
String |
getSeqwareVersion()
Getter for the field
seqwareVersion . |
Integer |
getSwAccession()
Getter for the field
swAccession . |
String |
getTemplate()
Getter for the field
template . |
Date |
getUpdateTimestamp()
Getter for the field
updateTimestamp . |
String |
getUsername()
Getter for the field
username . |
String |
getVersion()
Getter for the field
version . |
SortedSet<WorkflowParam> |
getVisibleWorkflowParams()
getVisibleWorkflowParams.
|
SortedSet<WorkflowParam> |
getVisibleWorkflowParamsWithDifferentValue()
getVisibleWorkflowParamsWithDifferentValue.
|
Set<WorkflowAttribute> |
getWorkflowAttributes()
Getter for the field
workflowAttributes . |
String |
getWorkflowClass() |
String |
getWorkflowEngine() |
Integer |
getWorkflowId()
Getter for the field
workflowId . |
SortedSet<WorkflowParam> |
getWorkflowParams()
Getter for the field
workflowParams . |
SortedSet<WorkflowParam> |
getWorkflowParamsWithDifferentFileMetaType()
getWorkflowParamsWithDifferentFileMetaType.
|
SortedSet<WorkflowRun> |
getWorkflowRuns()
Getter for the field
workflowRuns . |
String |
getWorkflowType() |
boolean |
givesPermissionInternal(Registration registration,
Set<Integer> considered)
Short-circuit permission checking by providing a set of entities that have already been checked
|
int |
hashCode() |
boolean |
isLaunch()
isLaunch.
|
boolean |
isPrivate()
isPrivate.
|
boolean |
isPublic()
isPublic.
|
void |
setBaseIniFile(String baseIniFile)
Setter for the field
baseIniFile . |
void |
setCommand(String command)
Setter for the field
command . |
void |
setCreateTimestamp(Date createTimestamp)
Setter for the field
createTimestamp . |
void |
setCwd(String cwd)
Setter for the field
cwd . |
void |
setDescription(String description)
Setter for the field
description . |
void |
setHost(String host)
Deprecated.
|
void |
setInputAlgorithm(String inputAlgorithm)
Setter for the field
inputAlgorithm . |
void |
setName(String name)
Setter for the field
name . |
void |
setOwner(Registration owner)
Setter for the field
owner . |
void |
setPermanentBundleLocation(String permanentBundleLocation)
Setter for the field
permanentBundleLocation . |
void |
setPrivate(boolean isPrivate)
setPrivate.
|
void |
setPublic(boolean isPublic)
setPublic.
|
void |
setSeqwareVersion(String seqwareVersion)
Setter for the field
seqwareVersion . |
void |
setSwAccession(Integer swAccession)
Setter for the field
swAccession . |
void |
setTemplate(String template)
Setter for the field
template . |
void |
setUpdateTimestamp(Date updateTimestamp)
Setter for the field
updateTimestamp . |
void |
setUsername(String username)
Setter for the field
username . |
void |
setVersion(String version)
Setter for the field
version . |
void |
setWorkflowAttributes(Set<WorkflowAttribute> workflowAttributes)
Setter for the field
workflowAttributes . |
void |
setWorkflowClass(String workflowClass) |
void |
setWorkflowEngine(String workflowEngine) |
void |
setWorkflowId(Integer workflowId)
Setter for the field
workflowId . |
void |
setWorkflowParams(SortedSet<WorkflowParam> workflowParams)
Setter for the field
workflowParams . |
void |
setWorkflowRuns(SortedSet<WorkflowRun> workflowRuns)
Setter for the field
workflowRuns . |
void |
setWorkflowType(String workflowType) |
String |
toString() |
givesPermission, givesPermission
public int compareTo(Workflow that)
compareTo
in interface Comparable<Workflow>
that
- public void setCommand(String command)
Setter for the field command
.
command
- a String
object.public void setTemplate(String template)
Setter for the field template
.
template
- a String
object.public Integer getWorkflowId()
Getter for the field workflowId
.
Integer
object.public void setWorkflowId(Integer workflowId)
Setter for the field workflowId
.
workflowId
- a Integer
object.public Integer getSwAccession()
Getter for the field swAccession
.
getSwAccession
in interface FirstTierModel
Integer
object.public void setSwAccession(Integer swAccession)
Setter for the field swAccession
.
swAccession
- a Integer
object.public void setName(String name)
Setter for the field name
.
name
- a String
object.public String getJsonEscapeDescription()
getJsonEscapeDescription.
String
object.public String getDescription()
Getter for the field description
.
String
object.public void setDescription(String description)
Setter for the field description
.
description
- a String
object.public String getInputAlgorithm()
Getter for the field inputAlgorithm
.
String
object.public void setInputAlgorithm(String inputAlgorithm)
Setter for the field inputAlgorithm
.
inputAlgorithm
- a String
object.public void setVersion(String version)
Setter for the field version
.
version
- a String
object.public String getSeqwareVersion()
Getter for the field seqwareVersion
.
String
object.public void setSeqwareVersion(String seqwareVersion)
Setter for the field seqwareVersion
.
seqwareVersion
- a String
object.public String getBaseIniFile()
Getter for the field baseIniFile
.
String
object.public void setBaseIniFile(String baseIniFile)
Setter for the field baseIniFile
.
baseIniFile
- a String
object.public void setHost(String host)
Setter for the field host
.
host
- a String
object.public void setUsername(String username)
Setter for the field username
.
username
- a String
object.public Date getCreateTimestamp()
Getter for the field createTimestamp
.
Date
object.public void setCreateTimestamp(Date createTimestamp)
Setter for the field createTimestamp
.
createTimestamp
- a Date
object.public Date getUpdateTimestamp()
Getter for the field updateTimestamp
.
Date
object.public void setUpdateTimestamp(Date updateTimestamp)
Setter for the field updateTimestamp
.
updateTimestamp
- a Date
object.public boolean isPrivate()
isPrivate.
public boolean getPrivate()
getPrivate.
public void setPrivate(boolean isPrivate)
setPrivate.
isPrivate
- a boolean.public boolean isPublic()
isPublic.
public boolean getPublic()
getPublic.
public void setPublic(boolean isPublic)
setPublic.
isPublic
- a boolean.public Registration getOwner()
Getter for the field owner
.
Registration
object.public void setOwner(Registration owner)
Setter for the field owner
.
owner
- a Registration
object.public SortedSet<WorkflowRun> getWorkflowRuns()
Getter for the field workflowRuns
.
SortedSet
object.public void setWorkflowRuns(SortedSet<WorkflowRun> workflowRuns)
Setter for the field workflowRuns
.
workflowRuns
- a SortedSet
object.public SortedSet<WorkflowParam> getWorkflowParams()
Getter for the field workflowParams
.
SortedSet
object.public SortedSet<WorkflowParam> getVisibleWorkflowParams()
getVisibleWorkflowParams.
SortedSet
object.public SortedSet<WorkflowParam> getVisibleWorkflowParamsWithDifferentValue()
getVisibleWorkflowParamsWithDifferentValue.
SortedSet
object.public SortedSet<WorkflowParam> getWorkflowParamsWithDifferentFileMetaType()
getWorkflowParamsWithDifferentFileMetaType.
SortedSet
object.public boolean isLaunch()
isLaunch.
public void setWorkflowParams(SortedSet<WorkflowParam> workflowParams)
Setter for the field workflowParams
.
workflowParams
- a SortedSet
object.public String getJsonEscapeFullName()
getJsonEscapeFullName.
String
object.public String getPermanentBundleLocation()
Getter for the field permanentBundleLocation
.
String
object.public String getWorkflowClass()
public void setWorkflowClass(String workflowClass)
public String getWorkflowType()
public void setWorkflowType(String workflowType)
public String getWorkflowEngine()
public void setWorkflowEngine(String workflowEngine)
public void setPermanentBundleLocation(String permanentBundleLocation)
Setter for the field permanentBundleLocation
.
permanentBundleLocation
- a String
object.public boolean givesPermissionInternal(Registration registration, Set<Integer> considered)
givesPermissionInternal
in class PermissionsAware
public Set<WorkflowAttribute> getWorkflowAttributes()
Getter for the field workflowAttributes
.
Set
object.public void setWorkflowAttributes(Set<WorkflowAttribute> workflowAttributes)
Setter for the field workflowAttributes
.
workflowAttributes
- a Set
object.public Set<WorkflowAttribute> getAnnotations()
Annotatable
getAnnotations
in interface Annotatable<WorkflowAttribute>
Copyright © 2015 SeqWare. All rights reserved.