public class UnavailableModuleDescriptorRequiringRestartFallbackFactory extends Object implements ModuleDescriptorFactory
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.| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTOR_TEXT |
| Constructor and Description |
|---|
UnavailableModuleDescriptorRequiringRestartFallbackFactory(ModuleDescriptorFactory underlying) |
| Modifier and Type | Method and Description |
|---|---|
UnrecognisedModuleDescriptorRequiringRestart |
getModuleDescriptor(String type) |
Class<? extends ModuleDescriptor<?>> |
getModuleDescriptorClass(String type) |
boolean |
hasModuleDescriptor(String type) |
public static final String DESCRIPTOR_TEXT
public UnavailableModuleDescriptorRequiringRestartFallbackFactory(ModuleDescriptorFactory underlying)
public UnrecognisedModuleDescriptorRequiringRestart getModuleDescriptor(String type) throws PluginParseException
getModuleDescriptor in interface ModuleDescriptorFactoryPluginParseExceptionpublic Class<? extends ModuleDescriptor<?>> getModuleDescriptorClass(String type)
getModuleDescriptorClass in interface ModuleDescriptorFactorypublic boolean hasModuleDescriptor(String type)
hasModuleDescriptor in interface ModuleDescriptorFactoryCopyright © 2019 Atlassian. All rights reserved.