com.atlassian.plugin
Class PluginArtifact.AllowsReference.Default

java.lang.Object
  extended by com.atlassian.plugin.PluginArtifact.AllowsReference.Default
Enclosing interface:
PluginArtifact.AllowsReference

public static class PluginArtifact.AllowsReference.Default
extends java.lang.Object

Host class for a static accessor which defaults allowsReference to false.


Constructor Summary
PluginArtifact.AllowsReference.Default()
           
 
Method Summary
static boolean allowsReference(PluginArtifact pluginArtifact)
          Determine if a PluginArtifact allows reference installation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginArtifact.AllowsReference.Default

public PluginArtifact.AllowsReference.Default()
Method Detail

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 © 2013 Atlassian. All Rights Reserved.