public abstract class AbstractPluginFactory extends Object implements PluginFactory
| Modifier and Type | Field and Description |
|---|---|
protected Set<Application> |
applications |
protected DescriptorParserFactory |
descriptorParserFactory |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractPluginFactory(DescriptorParserFactory descriptorParserFactory,
Set<Application> applications) |
| Modifier and Type | Method and Description |
|---|---|
String |
canCreate(PluginArtifact pluginArtifact)
Determines if this deployer can handle this artifact by looking for the plugin descriptor
|
protected abstract InputStream |
getDescriptorInputStream(PluginArtifact pluginArtifact) |
protected String |
getPluginKeyFromDescriptor(PluginArtifact pluginArtifact) |
protected boolean |
hasDescriptor(PluginArtifact pluginArtifact) |
protected abstract Predicate<Integer> |
isValidPluginsVersion() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createModuleprotected final DescriptorParserFactory descriptorParserFactory
protected final Set<Application> applications
protected AbstractPluginFactory(DescriptorParserFactory descriptorParserFactory, Set<Application> applications)
public String canCreate(PluginArtifact pluginArtifact) throws PluginParseException
canCreate in interface PluginFactorypluginArtifact - The artifact to testPluginParseException - If there are exceptions parsing the plugin configurationprotected final boolean hasDescriptor(PluginArtifact pluginArtifact)
protected final String getPluginKeyFromDescriptor(PluginArtifact pluginArtifact)
protected abstract InputStream getDescriptorInputStream(PluginArtifact pluginArtifact)
Copyright © 2019 Atlassian. All rights reserved.