@Internal @InjectableComponent @Immutable public class

DefaultWorkflowCopyNameFactory

extends Object
implements WorkflowCopyNameFactory
java.lang.Object
   ↳ com.atlassian.jira.workflow.names.DefaultWorkflowCopyNameFactory

@Internal

This class is an internal implementation detail and will change without notice.

Clients that depend on @Internal classes and interfaces can not expect to be compatible with any version other than the version they were compiled against (even minor version and milestone releases may break binary compatibility with respect to @Internal elements).

Summary

Public Constructors
DefaultWorkflowCopyNameFactory(WorkflowsRepository workflowsRepository, I18nHelper.BeanFactory i18n)
Public Methods
String createFrom(String sourceWorkflowName, Locale locale)
Creates the name to be used for a copy of a workflow based on the name of the workflow to be copied.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.workflow.names.WorkflowCopyNameFactory

Public Constructors

public DefaultWorkflowCopyNameFactory (WorkflowsRepository workflowsRepository, I18nHelper.BeanFactory i18n)

Public Methods

public String createFrom (String sourceWorkflowName, Locale locale)

Creates the name to be used for a copy of a workflow based on the name of the workflow to be copied.

Parameters
sourceWorkflowName The name of the workflow to be copied.
Returns
  • A String containing the name to be used for the copy.