Package com.atlassian.jira.workflow
Class DefaultWorkflowPropertyEditor.DefaultWorkflowPropertyEditorFactory
java.lang.Object
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
ConstructorsConstructorDescriptionDefaultWorkflowPropertyEditorFactory(JiraAuthenticationContext context, WorkflowService service, WorkflowBasedBrowsePermissionRemovalHelper browsePermissionRemovalHelper) -
Method Summary
Modifier and TypeMethodDescriptionstepPropertyEditor(JiraWorkflow workflow, com.opensymphony.workflow.loader.StepDescriptor descriptor) Create a property editor for the step on the passed workflow.transitionPropertyEditor(JiraWorkflow workflow, com.opensymphony.workflow.loader.ActionDescriptor descriptor) Create a property editor for the transition on the passed workflow.
-
Constructor Details
-
DefaultWorkflowPropertyEditorFactory
public DefaultWorkflowPropertyEditorFactory(JiraAuthenticationContext context, WorkflowService service, WorkflowBasedBrowsePermissionRemovalHelper browsePermissionRemovalHelper)
-
-
Method Details
-
transitionPropertyEditor
public WorkflowPropertyEditor transitionPropertyEditor(JiraWorkflow workflow, com.opensymphony.workflow.loader.ActionDescriptor descriptor) Description copied from interface:WorkflowPropertyEditor.WorkflowPropertyEditorFactoryCreate a property editor for the transition on the passed workflow. The workflow and transition must match.- Specified by:
transitionPropertyEditorin interfaceWorkflowPropertyEditor.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.WorkflowPropertyEditorFactoryCreate a property editor for the step on the passed workflow. The workflow and step must match.- Specified by:
stepPropertyEditorin interfaceWorkflowPropertyEditor.WorkflowPropertyEditorFactory- Parameters:
workflow- the workflow to create an editor for.descriptor- the step to create and editor for.- Returns:
- the editor.
-