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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUnavailableModuleDescriptorRequiringRestartFallbackFactory(com.atlassian.plugin.ModuleDescriptorFactory underlying) -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.plugin.descriptors.UnrecognisedModuleDescriptorRequiringRestartgetModuleDescriptor(String type) Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>booleanhasModuleDescriptor(String type)
-
Field Details
-
DESCRIPTOR_TEXT
- See Also:
-
-
Constructor Details
-
UnavailableModuleDescriptorRequiringRestartFallbackFactory
public UnavailableModuleDescriptorRequiringRestartFallbackFactory(com.atlassian.plugin.ModuleDescriptorFactory underlying)
-
-
Method Details
-
getModuleDescriptor
public com.atlassian.plugin.descriptors.UnrecognisedModuleDescriptorRequiringRestart getModuleDescriptor(String type) - Specified by:
getModuleDescriptorin interfacecom.atlassian.plugin.ModuleDescriptorFactory
-
getModuleDescriptorClass
public Class<? extends com.atlassian.plugin.ModuleDescriptor<?>> getModuleDescriptorClass(String type) - Specified by:
getModuleDescriptorClassin interfacecom.atlassian.plugin.ModuleDescriptorFactory
-
hasModuleDescriptor
- Specified by:
hasModuleDescriptorin interfacecom.atlassian.plugin.ModuleDescriptorFactory
-