Class AddProjectModuleImpl
java.lang.Object
com.atlassian.jira.project.template.hook.AddProjectModuleImpl
- All Implemented Interfaces:
AddProjectModule
-
Constructor Summary
ConstructorsConstructorDescriptionAddProjectModuleImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory, ProjectTemplateModuleDescriptor moduleDescriptor, String addProjectHookClass, String templateConfigurationFile, ConfigTemplateParser configTemplateParser) -
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.
-
Constructor Details
-
AddProjectModuleImpl
public AddProjectModuleImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory, ProjectTemplateModuleDescriptor moduleDescriptor, String addProjectHookClass, String templateConfigurationFile, ConfigTemplateParser configTemplateParser)
-
-
Method Details
-
hasConfigTemplate
public boolean hasConfigTemplate()Description copied from interface:AddProjectModuleIndicates whether a Project Template Config is defined.- Specified by:
hasConfigTemplatein interfaceAddProjectModule- Returns:
- whether an Project Template Config is defined
-
configTemplate
Description copied from interface:AddProjectModuleReturn the Configuration Template- Specified by:
configTemplatein interfaceAddProjectModule- Returns:
- the configuration template
-
hasProjectCreateHook
public boolean hasProjectCreateHook()Description copied from interface:AddProjectModuleIndicates whether an AddProjectHook has been defined.- Specified by:
hasProjectCreateHookin interfaceAddProjectModule- Returns:
- whether an AddProjectHook has been defined.
-
addProjectHook
Description copied from interface:AddProjectModuleCreates a new instance of the configured AddProjectHook.- Specified by:
addProjectHookin interfaceAddProjectModule- Returns:
- a new instance of the AddProjectHook configured for this ProjectTemplateModule
-