Class PluginFileStoreModuleDescriptor

java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginFileStore>
com.atlassian.bitbucket.filestore.PluginFileStoreModuleDescriptor
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptor<PluginFileStore>, com.atlassian.plugin.Resourced, com.atlassian.plugin.ScopeAware, com.atlassian.plugin.StateAware

public class PluginFileStoreModuleDescriptor extends com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginFileStore>
Module descriptor for providing PluginFileStore implementations.

To define a PluginFileStore within your plugin you will need to implement this interface and add the following to your atlassian-plugin.xml.


     <file-store key="my-file-store" class="com.example.MyFileStore"/>
 
Since:
9.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

    key, moduleClass, moduleClassName, moduleFactory, name, plugin, resources
  • Constructor Summary

    Constructors
    Constructor
    Description
    PluginFileStoreModuleDescriptor(com.atlassian.plugin.module.ModuleFactory moduleFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor

    assertModuleClassImplements, checkPermissions, destroy, disabled, enabled, equals, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getModuleClassName, getName, getParams, getPlugin, getPluginKey, getRequiredPermissions, getResourceDescriptor, getResourceDescriptors, getResourceLocation, getScopeKey, hashCode, init, isBroken, isEnabled, isEnabledByDefault, isSystemModule, loadClass, satisfiesMinJavaVersion, setBroken, setPlugin, toString, validate

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.atlassian.plugin.ModuleDescriptor

    getDisplayName
  • Field Details

  • Constructor Details

    • PluginFileStoreModuleDescriptor

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

    • getModule

      public PluginFileStore getModule()
      Specified by:
      getModule in interface com.atlassian.plugin.ModuleDescriptor<PluginFileStore>
      Specified by:
      getModule in class com.atlassian.plugin.descriptors.AbstractModuleDescriptor<PluginFileStore>