@Internal @InjectableComponent @Immutable public class DefaultWorkflowCopyNameFactory extends Object implements WorkflowCopyNameFactory
WorkflowCopyNameFactory.UnableToGenerateASuitableWorkflowName
Constructor and Description |
---|
DefaultWorkflowCopyNameFactory(WorkflowsRepository workflowsRepository,
I18nHelper.BeanFactory i18n) |
Modifier and Type | Method and Description |
---|---|
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.
|
public DefaultWorkflowCopyNameFactory(WorkflowsRepository workflowsRepository, I18nHelper.BeanFactory i18n)
public String createFrom(String sourceWorkflowName, @Nonnull Locale locale)
WorkflowCopyNameFactory
createFrom
in interface WorkflowCopyNameFactory
sourceWorkflowName
- The name of the workflow to be copied.Copyright © 2002-2019 Atlassian. All Rights Reserved.