public class DefaultPluginArtifactFactory extends Object implements PluginArtifactFactory
| Constructor and Description |
|---|
DefaultPluginArtifactFactory()
Create a factory which produces artifacts that do not allow reference installation.
|
DefaultPluginArtifactFactory(PluginArtifact.AllowsReference.ReferenceMode referenceMode)
Create a factory which produces artifacts that optionally allow reference installation.
|
public DefaultPluginArtifactFactory()
public DefaultPluginArtifactFactory(PluginArtifact.AllowsReference.ReferenceMode referenceMode)
referenceMode - the PluginArtifact.AllowsReference.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 © 2014 Atlassian. All rights reserved.