com.atlassian.plugin
Class PluginArtifact.AllowsReference.Default
java.lang.Object
com.atlassian.plugin.PluginArtifact.AllowsReference.Default
- Enclosing interface:
- PluginArtifact.AllowsReference
public static class PluginArtifact.AllowsReference.Default
- extends Object
Host class for a static accessor which defaults allowsReference to false.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginArtifact.AllowsReference.Default
public PluginArtifact.AllowsReference.Default()
allowsReference
public static boolean allowsReference(PluginArtifact pluginArtifact)
- Determine if a PluginArtifact allows reference installation.
If the PluginArtifact supports AllowsReference, it's allowsReference is queried, otherwise
it defaults to false.
- Parameters:
pluginArtifact - the plugin artifact to check.
- Returns:
- true iff a reference install should be attempted for pluginArtifact.
Copyright © 2014 Atlassian. All rights reserved.