Class ProjectTemplateModule
java.lang.Object
com.atlassian.jira.project.template.module.ProjectTemplateModule
A project template module as defined in the
atlassian-plugin.xml
.- Since:
- v2.14
-
Method Summary
Modifier and TypeMethodDescriptionReturns the AddProjectModule.Returns the backgroundIcon.Returns the descriptionKey.Returns the path to the soy template which explains the template.boolean
Returns whether an AddProjectModule is defined for thisProjectTemplateModule
icon()
Returns the icon.key()
Returns this template module's complete key.labelKey()
Returns the labelKey.Returns an optional longDescriptionKey.Returns the key of the project type for projects created with this blueprint.weight()
Returns the weight.
-
Method Details
-
key
Returns this template module's complete key. Format is"plugin.key:module.key"
.- Returns:
- the template module key.
- See Also:
-
ModuleDescriptor.getCompleteKey()
-
weight
Returns the weight.- Returns:
- the weight
-
labelKey
Returns the labelKey.- Returns:
- the labelKey
-
descriptionKey
Returns the descriptionKey.- Returns:
- the descriptionKey
-
longDescriptionKey
Returns an optional longDescriptionKey.- Returns:
- the longDescriptionKey. Could be empty if none was supplied in the plugin module.
-
icon
Returns the icon.- Returns:
- the icon
-
backgroundIcon
Returns the backgroundIcon.- Returns:
- the backgroundIcon
-
hasAddProjectModule
public boolean hasAddProjectModule()Returns whether an AddProjectModule is defined for thisProjectTemplateModule
- Returns:
- whether AddProjectModule is defined
-
addProjectModule
Returns the AddProjectModule.- Returns:
- the name of the AddProjectModule
-
getInfoSoyPath
Returns the path to the soy template which explains the template.- Returns:
- the path to information soy template.
-
projectTypeKey
Returns the key of the project type for projects created with this blueprint.- Returns:
- the key of the project type for projects created with this blueprint.
-