public class WorkflowSchemeTemplateImpl extends Object implements WorkflowSchemeTemplate
Constructor and Description |
---|
WorkflowSchemeTemplateImpl(String name,
String description,
String defaultWorkflow,
List<WorkflowTemplateImpl> workflowTemplates) |
Modifier and Type | Method and Description |
---|---|
Optional<String> |
defaultWorkflow()
Returns the key of the default worfklow.
|
String |
description()
Returns the description of the workflow scheme.
|
boolean |
hasWorkflow(String workflowKey)
Indicates whether this workflow scheme template has a workflow which matches the specified workflow key.
|
String |
name()
Returns the name of the workflow scheme.
|
List<WorkflowTemplate> |
workflowTemplates()
Returns the workflow templates of this workflow scheme.
|
public WorkflowSchemeTemplateImpl(String name, String description, String defaultWorkflow, List<WorkflowTemplateImpl> workflowTemplates)
public String name()
WorkflowSchemeTemplate
name
in interface WorkflowSchemeTemplate
public String description()
WorkflowSchemeTemplate
description
in interface WorkflowSchemeTemplate
public Optional<String> defaultWorkflow()
WorkflowSchemeTemplate
defaultWorkflow
in interface WorkflowSchemeTemplate
public List<WorkflowTemplate> workflowTemplates()
WorkflowSchemeTemplate
workflowTemplates
in interface WorkflowSchemeTemplate
public boolean hasWorkflow(String workflowKey)
WorkflowSchemeTemplate
hasWorkflow
in interface WorkflowSchemeTemplate
workflowKey
- unique id for the workflowCopyright © 2002-2017 Atlassian. All Rights Reserved.