public class DefaultPluginArtifactFactory extends Object implements PluginArtifactFactory
| Constructor and Description |
|---|
DefaultPluginArtifactFactory()
Create a factory which produces artifacts that do not allow reference installation.
|
DefaultPluginArtifactFactory(ReferenceMode referenceMode)
Create a factory which produces artifacts that optionally allow reference installation.
|
| Modifier and Type | Method and Description |
|---|---|
PluginArtifact |
create(URI artifactUri)
Creates the artifact by looking at the file extension
|
public DefaultPluginArtifactFactory()
public DefaultPluginArtifactFactory(ReferenceMode referenceMode)
referenceMode - the ReferenceMode passed to JarPluginArtifact instances
created by this factory.public PluginArtifact create(URI artifactUri)
create in interface PluginArtifactFactoryartifactUri - The artifact URIIllegalArgumentException - If an artifact cannot be created from the URLCopyright © 2019 Atlassian. All rights reserved.