Class ProjectTemplateManagerImpl
java.lang.Object
com.atlassian.jira.project.template.ProjectTemplateManagerImpl
- All Implemented Interfaces:
ProjectTemplateManager
-
Constructor Summary
ConstructorsConstructorDescriptionProjectTemplateManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraAuthenticationContext authenticationContext, ProjectTemplateBuilderFactory builderFactory) -
Method Summary
Modifier and TypeMethodDescriptionGets a default template that can be used to create a project.getProjectTemplate(ProjectTemplateKey projectTemplateKey) Retrieves a project template by its key in theatlassian-plugin.xml.Get the list of Project Template for a given user within a given context
-
Constructor Details
-
ProjectTemplateManagerImpl
public ProjectTemplateManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, JiraAuthenticationContext authenticationContext, ProjectTemplateBuilderFactory builderFactory)
-
-
Method Details
-
getProjectTemplates
Description copied from interface:ProjectTemplateManagerGet the list of Project Template for a given user within a given context- Specified by:
getProjectTemplatesin interfaceProjectTemplateManager- Returns:
- The list of available project templates
-
getProjectTemplate
Description copied from interface:ProjectTemplateManagerRetrieves a project template by its key in theatlassian-plugin.xml.- Specified by:
getProjectTemplatein interfaceProjectTemplateManager- Parameters:
projectTemplateKey- The key of the project template.projectTemplateKeycan be null, or contain a null key.- Returns:
- The requested project template, or empty if a matching template can't be found.
-
getDefaultTemplate
Description copied from interface:ProjectTemplateManagerGets a default template that can be used to create a project.- Specified by:
getDefaultTemplatein interfaceProjectTemplateManager- Returns:
- The default template.
-