@PublicApi
public interface ProjectTemplateManager
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
|
List<ProjectTemplate> getProjectTemplates()
Optional<ProjectTemplate> getProjectTemplate(@Nullable ProjectTemplateKey projectTemplateKey)
atlassian-plugin.xml
.projectTemplateKey
- The key of the project template. projectTemplateKey
can be null, or contain a null key.ProjectTemplate getDefaultTemplate()
Copyright © 2002-2018 Atlassian. All Rights Reserved.