Class UnavailableModuleDescriptorRequiringRestartFallbackFactory

java.lang.Object
com.atlassian.plugin.osgi.factory.UnavailableModuleDescriptorRequiringRestartFallbackFactory
All Implemented Interfaces:
com.atlassian.plugin.ModuleDescriptorFactory

public class UnavailableModuleDescriptorRequiringRestartFallbackFactory extends Object implements com.atlassian.plugin.ModuleDescriptorFactory
Return placeholder UnrecognisedModuleDescriptor instances marked with @RequiresRestart for any descriptors in the underlying ModuleDescriptorFactory that have that annotation. This is for module descriptors that won't be used yet but where we need to report the RequresRestart status back.
  • Field Details

  • Constructor Details

    • UnavailableModuleDescriptorRequiringRestartFallbackFactory

      public UnavailableModuleDescriptorRequiringRestartFallbackFactory(com.atlassian.plugin.ModuleDescriptorFactory underlying)
  • Method Details

    • getModuleDescriptor

      public com.atlassian.plugin.descriptors.UnrecognisedModuleDescriptorRequiringRestart getModuleDescriptor(String type)
      Specified by:
      getModuleDescriptor in interface com.atlassian.plugin.ModuleDescriptorFactory
    • getModuleDescriptorClass

      public Class<? extends com.atlassian.plugin.ModuleDescriptor<?>> getModuleDescriptorClass(String type)
      Specified by:
      getModuleDescriptorClass in interface com.atlassian.plugin.ModuleDescriptorFactory
    • hasModuleDescriptor

      public boolean hasModuleDescriptor(String type)
      Specified by:
      hasModuleDescriptor in interface com.atlassian.plugin.ModuleDescriptorFactory