Class VcsCacheHandlerModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<T>
com.atlassian.bamboo.plugin.descriptor.AbstractBambooModuleDescriptor<CacheHandler>
com.atlassian.bamboo.vcs.module.VcsCacheHandlerModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<CacheHandler>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware

public class VcsCacheHandlerModuleDescriptor extends AbstractBambooModuleDescriptor<CacheHandler>
  • Constructor Details

    • VcsCacheHandlerModuleDescriptor

      public VcsCacheHandlerModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
  • Method Details

    • isMutable

      protected boolean isMutable()
      Description copied from class: AbstractBambooModuleDescriptor
      Whether modules of this descriptor are supposed to be mutated by external components. By default this returns true, which means a fresh module instance will be created each time AbstractBambooModuleDescriptor.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:
      isMutable in class AbstractBambooModuleDescriptor<CacheHandler>
      Returns:
      true if modules of this descriptor are mutable