com.atlassian.jira.workflow
Class DefaultJiraWorkflow

java.lang.Object
  extended bycom.atlassian.jira.workflow.AbstractJiraWorkflow
      extended bycom.atlassian.jira.workflow.DefaultJiraWorkflow
All Implemented Interfaces:
Comparable, JiraWorkflow

public class DefaultJiraWorkflow
extends AbstractJiraWorkflow


Field Summary
static int STOP_PROGRESS_ACTION_ID
           
 
Fields inherited from class com.atlassian.jira.workflow.AbstractJiraWorkflow
descriptor, workflowManager
 
Fields inherited from interface com.atlassian.jira.workflow.JiraWorkflow
ACTION_TYPE_ALL, ACTION_TYPE_COMMON, ACTION_TYPE_GLOBAL, ACTION_TYPE_INITIAL, ACTION_TYPE_ORDINARY, DEFAULT_WORKFLOW_NAME, JIRA_META_ATTRIBUTE_ALLOWED_LIST, JIRA_META_ATTRIBUTE_EDIT_ALLOWED, JIRA_META_ATTRIBUTE_EXCLUDE_RESOLUTION, JIRA_META_ATTRIBUTE_I18N, JIRA_META_ATTRIBUTE_KEY_PREFIX, JIRA_META_ATTRIBUTE_PERMISSION, 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 isEnabled()
           
 void store()
          Persist this workflow object if possible.
 
Methods inherited from class com.atlassian.jira.workflow.AbstractJiraWorkflow
compareTo, equals, getActionsForScreen, getActionsWithResult, getActionType, getAllActions, getDescriptor, getLinkedStatus, getLinkedStatuses, getLinkedStep, getNextActionId, getPostFunctionsForTransition, getStepsForTransition, getStepsWithAction, 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()

store

public void store()
           throws WorkflowException
Description copied from interface: JiraWorkflow
Persist this workflow object if possible.

Throws:
WorkflowException


Copyright © 2002-2006 Atlassian. All Rights Reserved.