com.atlassian.bamboo.plugin.descriptor
Class RepositoryModuleDescriptorImpl

java.lang.Object
  extended by com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
      extended by com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<Repository>
          extended by com.atlassian.bamboo.plugin.descriptor.RepositoryModuleDescriptorImpl
All Implemented Interfaces:
RepositoryModuleDescriptor, com.atlassian.plugin.ModuleDescriptor<Repository>, com.atlassian.plugin.Resourced, com.atlassian.plugin.StateAware, Serializable

public class RepositoryModuleDescriptorImpl
extends AbstractBambooModuleDescriptor<Repository>
implements RepositoryModuleDescriptor, Serializable

Module descriptor for the Repository plugin type

See Also:
Serialized Form

Field Summary
static String REPOSITORY_PLUGIN_KEY
           
 
Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources, singleton
 
Constructor Summary
RepositoryModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
           
 
Method Summary
 String getAdvancedEditTemplate()
           
 String getAdvancedViewTemplate()
           
 String getBranchIntegrationEditTemplate()
           
 String getChangeDetectionEditTemplate()
           
 String getChangeDetectionViewTemplate()
           
 RepositoryConfigurator getConfigurator()
           
 String getEditTemplate()
           
 String getMavenPomCheckoutAccessEditTemplate()
           
 String getMinimalEditTemplate()
           
 Repository getModule()
          For some reason on remote agent super.getModule() is not enough (not sure if it is not enough only for plugins type 2) https://extranet.atlassian.com/jira/browse/BDEV-807
 String getViewTemplate()
           
 void init(com.atlassian.plugin.Plugin plugin, org.dom4j.Element element)
           
 
Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getVelocityResourceLocation, instantiateClass, isMutable, postInit, preInit
 
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, destroy, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, hashCode, isEnabledByDefault, isSingleton, isSingletonByDefault, isSystemModule, loadClass, loadClass, provideValidationRules, satisfiesMinJavaVersion, setPlugin, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.ModuleDescriptor
destroy, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, hashCode, isEnabledByDefault, isSystemModule, satisfiesMinJavaVersion
 
Methods inherited from interface com.atlassian.plugin.Resourced
getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation
 

Field Detail

REPOSITORY_PLUGIN_KEY

public static final String REPOSITORY_PLUGIN_KEY
See Also:
Constant Field Values
Constructor Detail

RepositoryModuleDescriptorImpl

public RepositoryModuleDescriptorImpl(com.atlassian.plugin.module.ModuleFactory moduleFactory)
Method Detail

init

public void init(com.atlassian.plugin.Plugin plugin,
                 org.dom4j.Element element)
          throws com.atlassian.plugin.PluginParseException
Specified by:
init in interface com.atlassian.plugin.ModuleDescriptor<Repository>
Overrides:
init in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<Repository>
Throws:
com.atlassian.plugin.PluginParseException

getModule

public Repository getModule()
For some reason on remote agent super.getModule() is not enough (not sure if it is not enough only for plugins type 2) https://extranet.atlassian.com/jira/browse/BDEV-807

Specified by:
getModule in interface com.atlassian.plugin.ModuleDescriptor<Repository>
Overrides:
getModule in class AbstractBambooModuleDescriptor<Repository>

getEditTemplate

@Nullable
public String getEditTemplate()

getAdvancedEditTemplate

@Nullable
public String getAdvancedEditTemplate()

getAdvancedViewTemplate

@Nullable
public String getAdvancedViewTemplate()

getViewTemplate

@Nullable
public String getViewTemplate()

getChangeDetectionEditTemplate

@Nullable
public String getChangeDetectionEditTemplate()

getChangeDetectionViewTemplate

@Nullable
public String getChangeDetectionViewTemplate()

getMinimalEditTemplate

@Nullable
public String getMinimalEditTemplate()

getMavenPomCheckoutAccessEditTemplate

@Nullable
public String getMavenPomCheckoutAccessEditTemplate()

getBranchIntegrationEditTemplate

@Nullable
public String getBranchIntegrationEditTemplate()

getConfigurator

@NotNull
public RepositoryConfigurator getConfigurator()
Specified by:
getConfigurator in interface RepositoryModuleDescriptor


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.