Interface AddProjectModule
- All Known Implementing Classes:
AddProjectModuleImpl
@PublicApi
public interface AddProjectModule
An 'add project' plugin module as defined in the
atlassian-plugin.xml- Since:
- 7.0
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new instance of the configured AddProjectHook.Return the Configuration TemplatebooleanIndicates whether a Project Template Config is defined.booleanIndicates whether an AddProjectHook has been defined.
-
Method Details
-
hasConfigTemplate
boolean hasConfigTemplate()Indicates whether a Project Template Config is defined.- Returns:
- whether an Project Template Config is defined
-
configTemplate
ConfigTemplate configTemplate()Return the Configuration Template- Returns:
- the configuration template
-
hasProjectCreateHook
boolean hasProjectCreateHook()Indicates whether an AddProjectHook has been defined.- Returns:
- whether an AddProjectHook has been defined.
-
addProjectHook
AddProjectHook addProjectHook()Creates a new instance of the configured AddProjectHook.- Returns:
- a new instance of the AddProjectHook configured for this ProjectTemplateModule
-