com.atlassian.jira.workflow
Interface AssignableWorkflowScheme.Builder

All Superinterfaces:
WorkflowScheme.Builder<AssignableWorkflowScheme.Builder>
All Known Implementing Classes:
MockAssignableWorkflowScheme.MockBuilder
Enclosing interface:
AssignableWorkflowScheme

public static interface AssignableWorkflowScheme.Builder
extends WorkflowScheme.Builder<AssignableWorkflowScheme.Builder>

A builder that can be used to change an AssignableWorkflowScheme.


Method Summary
 AssignableWorkflowScheme build()
           
 AssignableWorkflowScheme.Builder setDescription(String description)
          Set the description of the workflow scheme.
 AssignableWorkflowScheme.Builder setName(String name)
          Set the name of the worklflow scheme.
 
Methods inherited from interface com.atlassian.jira.workflow.WorkflowScheme.Builder
clearMappings, getDefaultWorkflow, getDescription, getId, getMapping, getMappings, getName, isDefault, isDraft, removeDefault, removeMapping, removeWorkflow, setDefaultWorkflow, setMapping, setMappings
 

Method Detail

setName

@Nonnull
AssignableWorkflowScheme.Builder setName(@Nonnull
                                                 String name)
Set the name of the worklflow scheme.

Parameters:
name - the name of the workflow scheme.
Returns:
the builder.

setDescription

@Nonnull
AssignableWorkflowScheme.Builder setDescription(String description)
Set the description of the workflow scheme.

Parameters:
description - the description of the workflow scheme.
Returns:
the builder.

build

@Nonnull
AssignableWorkflowScheme build()


Copyright © 2002-2014 Atlassian. All Rights Reserved.