Class FreemarkerAllowlistModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<FreemarkerAllowlistModuleDescriptor>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<FreemarkerAllowlistModuleDescriptor>
com.atlassian.bamboo.plugin.descriptor.FreemarkerAllowlistModuleDescriptor
- All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<FreemarkerAllowlistModuleDescriptor>,com.atlassian.plugin.Resourced,com.atlassian.plugin.ScopeAware,com.atlassian.plugin.StateAware
public class FreemarkerAllowlistModuleDescriptor
extends AbstractBambooModuleDescriptor<FreemarkerAllowlistModuleDescriptor>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
AbstractBambooModuleDescriptor.ClassNameSource, AbstractBambooModuleDescriptor.ModuleAvailability -
Field Summary
Fields inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
CLASSFields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources -
Constructor Summary
ConstructorsConstructorDescriptionFreemarkerAllowlistModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoidenabled()List<freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector> voidinit(@NotNull com.atlassian.plugin.Plugin plugin, @NotNull com.atlassian.plugin.module.Element element) protected booleanWhether modules of this descriptor are supposed to be mutated by external components.Methods inherited from class com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor
disabled, getElementAsString, getFreeMarkerResourceLocation, getModule, getVelocityResourceLocation, instantiateClass, instantiateSubmodule, postInit, preInit, prepareSubModuleConfiguration, prepareSubModuleConfigurationMethods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor
assertModuleClassImplements, checkPermissions, destroy, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlassian.plugin.ModuleDescriptor
getDisplayName
-
Constructor Details
-
FreemarkerAllowlistModuleDescriptor
public FreemarkerAllowlistModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
-
-
Method Details
-
getMethodSelectors
public List<freemarker.ext.beans.MemberSelectorListMemberAccessPolicy.MemberSelector> getMethodSelectors() -
init
public void init(@NotNull @NotNull com.atlassian.plugin.Plugin plugin, @NotNull @NotNull com.atlassian.plugin.module.Element element) - Specified by:
initin interfacecom.atlassian.plugin.ModuleDescriptor<FreemarkerAllowlistModuleDescriptor>- Overrides:
initin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<FreemarkerAllowlistModuleDescriptor>
-
isMutable
protected boolean isMutable()Description copied from class:AbstractBambooModuleDescriptorWhether modules of this descriptor are supposed to be mutated by external components. By default this returnstrue, which means a fresh module instance will be created each timeAbstractBambooModuleDescriptor.getModule()is called.Subclasses that are safe to cache a singleton instance of module throughout the life span of this descriptor can override this method and return
false.- Overrides:
isMutablein classAbstractBambooModuleDescriptor<FreemarkerAllowlistModuleDescriptor>- Returns:
trueif modules of this descriptor are mutable
-
enabled
public void enabled()- Specified by:
enabledin interfacecom.atlassian.plugin.StateAware- Overrides:
enabledin classcom.atlassian.plugin.descriptors.AbstractModuleDescriptor<FreemarkerAllowlistModuleDescriptor>
-