com.atlassian.jira.workflow
Class DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory

java.lang.Object
  extended by com.atlassian.jira.workflow.DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory
All Implemented Interfaces:
WorkflowPropertyEditor.WorkflowPropertyEditorFactory
Enclosing class:
DefaultWorkflowPropertyEditor

public static class DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory
extends Object
implements WorkflowPropertyEditor.WorkflowPropertyEditorFactory


Constructor Summary
DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory(JiraAuthenticationContext context, WorkflowService service)
           
 
Method Summary
 WorkflowPropertyEditor stepPropertyEditor(JiraWorkflow workflow, com.opensymphony.workflow.loader.StepDescriptor descriptor)
          Create a property editor for the step on the passed workflow.
 WorkflowPropertyEditor transitionPropertyEditor(JiraWorkflow workflow, com.opensymphony.workflow.loader.ActionDescriptor descriptor)
          Create a property editor for the transition on the passed workflow.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory

public DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory(JiraAuthenticationContext context,
                                                                          WorkflowService service)
Method Detail

transitionPropertyEditor

public WorkflowPropertyEditor transitionPropertyEditor(JiraWorkflow workflow,
                                                       com.opensymphony.workflow.loader.ActionDescriptor descriptor)
Description copied from interface: WorkflowPropertyEditor.WorkflowPropertyEditorFactory
Create a property editor for the transition on the passed workflow. The workflow and transition must match.

Specified by:
transitionPropertyEditor in interface WorkflowPropertyEditor.WorkflowPropertyEditorFactory
Parameters:
workflow - the workflow to create an editor for.
descriptor - the transition to create and editor for.
Returns:
the editor.

stepPropertyEditor

public WorkflowPropertyEditor stepPropertyEditor(JiraWorkflow workflow,
                                                 com.opensymphony.workflow.loader.StepDescriptor descriptor)
Description copied from interface: WorkflowPropertyEditor.WorkflowPropertyEditorFactory
Create a property editor for the step on the passed workflow. The workflow and step must match.

Specified by:
stepPropertyEditor in interface WorkflowPropertyEditor.WorkflowPropertyEditorFactory
Parameters:
workflow - the workflow to create an editor for.
descriptor - the step to create and editor for.
Returns:
the editor.


Copyright © 2002-2014 Atlassian. All Rights Reserved.