|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.DefaultPluginArtifactFactory
public class DefaultPluginArtifactFactory
Creates plugin artifacts by handling URI's that are files and looking at the file's extension
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
PluginArtifact |
create(URI artifactUri)
Creates the artifact by looking at the file extension |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultPluginArtifactFactory()
public DefaultPluginArtifactFactory(PluginArtifact.AllowsReference.ReferenceMode referenceMode)
referenceMode - the PluginArtifact.AllowsReference.ReferenceMode passed to JarPluginArtifact instances
created by this factory.| Method Detail |
|---|
public PluginArtifact create(URI artifactUri)
create in interface PluginArtifactFactoryartifactUri - The artifact URI
IllegalArgumentException - If an artifact cannot be created from the URL
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||