com.atlassian.jira.workflow
Class DefaultJiraWorkflow

java.lang.Object
  extended by com.atlassian.jira.workflow.AbstractJiraWorkflow
      extended by com.atlassian.jira.workflow.DefaultJiraWorkflow
All Implemented Interfaces:
JiraWorkflow, Comparable<JiraWorkflow>

public class DefaultJiraWorkflow
extends AbstractJiraWorkflow


Field Summary
static int STOP_PROGRESS_ACTION_ID
           
 
Fields inherited from class com.atlassian.jira.workflow.AbstractJiraWorkflow
workflowManager
 
Fields inherited from interface com.atlassian.jira.workflow.JiraWorkflow
ACTION_ORIGIN_STEP_ID, ACTION_TYPE_ALL, ACTION_TYPE_COMMON, ACTION_TYPE_GLOBAL, ACTION_TYPE_INITIAL, ACTION_TYPE_ORDINARY, DEFAULT_WORKFLOW_NAME, DRAFT, JIRA_META_ATTRIBUTE_ALLOWED_LIST, JIRA_META_ATTRIBUTE_EDIT_ALLOWED, JIRA_META_ATTRIBUTE_EXCLUDE_RESOLUTION, JIRA_META_ATTRIBUTE_I18N, JIRA_META_ATTRIBUTE_I18N_SUBMIT, JIRA_META_ATTRIBUTE_INCLUDE_RESOLUTION, JIRA_META_ATTRIBUTE_KEY_PREFIX, JIRA_META_ATTRIBUTE_PERMISSION, JIRA_META_UPDATE_AUTHOR_NAME, JIRA_META_UPDATED_DATE, LIVE, STEP_STATUS_KEY, WORKFLOW_DESCRIPTION_ATTRIBUTE, WORKFLOW_VIEW_FIELDLAYOUT_KEY_ATTRIBUTE
 
Constructor Summary
DefaultJiraWorkflow(com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor, WorkflowManager workflowManager)
           
 
Method Summary
 String getDescription()
           
 String getName()
           
 boolean hasDraftWorkflow()
          This method will always return false as you cannot edit the Default workflow.
 boolean isDraftWorkflow()
          This method will always return false as this implementation is not used for DraftWorkflows.
 boolean isEnabled()
           
 
Methods inherited from class com.atlassian.jira.workflow.AbstractJiraWorkflow
compareTo, equals, getActionsForScreen, getActionsWithResult, getActionType, getAllActions, getDescriptor, getLinkedStatus, getLinkedStatuses, getLinkedStatusObject, getLinkedStatusObjects, getLinkedStep, getLinkedStep, getMode, getNextActionId, getPostFunctionsForTransition, getStepsForTransition, getStepsWithAction, getUpdateAuthorName, getUpdatedDate, hashCode, isActive, isCommonAction, isDefault, isEditable, isGlobalAction, isInitialAction, isOrdinaryAction, isSystemWorkflow, removeStep, reset
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STOP_PROGRESS_ACTION_ID

public static final int STOP_PROGRESS_ACTION_ID
See Also:
Constant Field Values
Constructor Detail

DefaultJiraWorkflow

public DefaultJiraWorkflow(com.opensymphony.workflow.loader.WorkflowDescriptor workflowDescriptor,
                           WorkflowManager workflowManager)
Method Detail

getName

public String getName()
Specified by:
getName in interface JiraWorkflow
Specified by:
getName in class AbstractJiraWorkflow

getDescription

public String getDescription()
Specified by:
getDescription in interface JiraWorkflow
Overrides:
getDescription in class AbstractJiraWorkflow

isEnabled

public boolean isEnabled()

isDraftWorkflow

public boolean isDraftWorkflow()
This method will always return false as this implementation is not used for DraftWorkflows.

Returns:
false
Since:
v3.13

hasDraftWorkflow

public boolean hasDraftWorkflow()
This method will always return false as you cannot edit the Default workflow.

Specified by:
hasDraftWorkflow in interface JiraWorkflow
Overrides:
hasDraftWorkflow in class AbstractJiraWorkflow
Returns:
false
Since:
v3.13


Copyright © 2002-2012 Atlassian. All Rights Reserved.