public class ProjectTemplateManagerImpl extends Object implements ProjectTemplateManager
| Constructor and Description |
|---|
ProjectTemplateManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
JiraAuthenticationContext authenticationContext,
ProjectTemplateBuilderFactory builderFactory) |
| Modifier and Type | Method and Description |
|---|---|
ProjectTemplate |
getDefaultTemplate()
Gets a default template that can be used to create a project.
|
Optional<ProjectTemplate> |
getProjectTemplate(ProjectTemplateKey projectTemplateKey)
Retrieves a project template by its key in the
atlassian-plugin.xml. |
List<ProjectTemplate> |
getProjectTemplates()
Get the list of Project Template for a given user within a given context
|
public ProjectTemplateManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
JiraAuthenticationContext authenticationContext,
ProjectTemplateBuilderFactory builderFactory)
public List<ProjectTemplate> getProjectTemplates()
ProjectTemplateManagergetProjectTemplates in interface ProjectTemplateManagerpublic Optional<ProjectTemplate> getProjectTemplate(ProjectTemplateKey projectTemplateKey)
ProjectTemplateManageratlassian-plugin.xml.getProjectTemplate in interface ProjectTemplateManagerprojectTemplateKey - The key of the project template. projectTemplateKey can be null, or contain a null key.public ProjectTemplate getDefaultTemplate()
ProjectTemplateManagergetDefaultTemplate in interface ProjectTemplateManagerCopyright © 2002-2022 Atlassian. All Rights Reserved.