public class ClasspathFilePluginMetadata extends Object implements RequiredPluginProvider
All files contents will be used to inform this implementation of plugin keys. This will read the contents all instances of those files into the structures of this class.
The values will determine the plugin metadata for this implementation.
| Constructor and Description |
|---|
ClasspathFilePluginMetadata() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
applicationProvided(Plugin plugin)
Is the
Plugin provided by (bundled with) the application. |
Set<String> |
getRequiredModuleKeys()
The set of all of the plugin modules that have been marked as required by the host application.
|
Set<String> |
getRequiredPluginKeys()
The set of all of the plugins that have been marked as required by the host application.
|
boolean |
required(ModuleDescriptor<?> module)
Is the
ModuleDescriptor required by the application for basic
operation. |
boolean |
required(Plugin plugin)
Is the
Plugin required by the application for basic operation. |
public boolean applicationProvided(Plugin plugin)
Plugin provided by (bundled with) the application.plugin - the pluginpublic boolean required(Plugin plugin)
Plugin required by the application for basic operation.plugin - the pluginpublic boolean required(ModuleDescriptor<?> module)
ModuleDescriptor required by the application for basic
operation.module - the module descriptorpublic Set<String> getRequiredPluginKeys()
RequiredPluginProvidergetRequiredPluginKeys in interface RequiredPluginProviderpublic Set<String> getRequiredModuleKeys()
RequiredPluginProvidergetRequiredModuleKeys in interface RequiredPluginProviderCopyright © 2019 Atlassian. All rights reserved.