com.atlassian.jira.workflow
Interface DraftWorkflowScheme

All Superinterfaces:
WorkflowScheme
All Known Implementing Classes:
MockDraftWorkflowScheme

public interface DraftWorkflowScheme
extends WorkflowScheme

Since:
v5.2

Nested Class Summary
static interface DraftWorkflowScheme.Builder
          A builder that can be used to change the state of the workflow scheme.
 
Method Summary
 DraftWorkflowScheme.Builder builder()
          Return a builder initialised with the state of the current workflow scheme.
 Date getLastModifiedDate()
          The date the scheme was last updated (or created).
 ApplicationUser getLastModifiedUser()
          The user that last modified the scheme.
 AssignableWorkflowScheme getParentScheme()
          Return a reference to the parent of the draft scheme.
 
Methods inherited from interface com.atlassian.jira.workflow.WorkflowScheme
getActualDefaultWorkflow, getActualWorkflow, getConfiguredDefaultWorkflow, getConfiguredWorkflow, getDescription, getId, getMappings, getName, isDefault, isDraft
 

Method Detail

getLastModifiedUser

ApplicationUser getLastModifiedUser()
The user that last modified the scheme.

Returns:
the user that last modified the scheme. Can be null.

getLastModifiedDate

@Nonnull
Date getLastModifiedDate()
The date the scheme was last updated (or created).

Returns:
the date the scheme was last updated or created.

getParentScheme

AssignableWorkflowScheme getParentScheme()
Return a reference to the parent of the draft scheme.

Returns:
a reference to the parent of the draft scheme.

builder

DraftWorkflowScheme.Builder builder()
Return a builder initialised with the state of the current workflow scheme.

Returns:
a new builder initialised with the state of the current workflow scheme.


Copyright © 2002-2013 Atlassian. All Rights Reserved.