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()
WorkflowSchemeTemplatename in interface WorkflowSchemeTemplatepublic String description()
WorkflowSchemeTemplatedescription in interface WorkflowSchemeTemplatepublic Optional<String> defaultWorkflow()
WorkflowSchemeTemplatedefaultWorkflow in interface WorkflowSchemeTemplatepublic List<WorkflowTemplate> workflowTemplates()
WorkflowSchemeTemplateworkflowTemplates in interface WorkflowSchemeTemplatepublic boolean hasWorkflow(String workflowKey)
WorkflowSchemeTemplatehasWorkflow in interface WorkflowSchemeTemplateworkflowKey - unique id for the workflowCopyright © 2002-2018 Atlassian. All Rights Reserved.