public class

JiraDraftWorkflow

extends AbstractJiraWorkflow
java.lang.Object
   ↳ com.atlassian.jira.workflow.AbstractJiraWorkflow
     ↳ com.atlassian.jira.workflow.JiraDraftWorkflow

Class Overview

This class represents an draft workflow, that is a copy of an active workflow that may be edited, (and eventually) be used to overwrite an active workflow. It is stored in a separate database table from the main workflows.

Summary

[Expand]
Inherited Constants
From interface com.atlassian.jira.workflow.JiraWorkflow
[Expand]
Inherited Fields
From class com.atlassian.jira.workflow.AbstractJiraWorkflow
From interface com.atlassian.jira.workflow.JiraWorkflow
Protected Constructors
JiraDraftWorkflow(String name, WorkflowManager workflowManager, WorkflowDescriptor workflowDescriptor)
Public Methods
String getName()
boolean isDraftWorkflow()
This method will always return true as this implementation is always used for draft Workflows.
boolean isEditable()
A draft Workflow is always editable.
[Expand]
Inherited Methods
From class com.atlassian.jira.workflow.AbstractJiraWorkflow
From class java.lang.Object
From interface com.atlassian.jira.workflow.JiraWorkflow
From interface java.lang.Comparable

Protected Constructors

protected JiraDraftWorkflow (String name, WorkflowManager workflowManager, WorkflowDescriptor workflowDescriptor)

Public Methods

public String getName ()

public boolean isDraftWorkflow ()

This method will always return true as this implementation is always used for draft Workflows.

Returns
  • true

public boolean isEditable ()

A draft Workflow is always editable.

Returns
  • true
Throws
WorkflowException
WorkflowException
See Also