public static final class PluginGadgetSpec.Key extends Object
| Constructor and Description |
|---|
Key(String pluginKey,
String location)
Constructs a new
PluginGadgetSpec.Key from the specified plugin key and resource location. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getLocation()
Returns the location of the spec this key is for.
|
String |
getPluginKey()
Returns the key of the plugin that the spec this key is for is contained in.
|
int |
hashCode() |
String |
toString() |
public Key(String pluginKey, String location)
PluginGadgetSpec.Key from the specified plugin key and resource location.pluginKey - the plugin key of the Plugin that contains the resource. Must not be null,
or a NullPointerException will be thrown.location - the location of the resource within the plugin or the external location of the resource.
Must not be null, or a NullPointerException will be thrown.NullPointerException - if any argument is nullpublic String getPluginKey()
public String getLocation()
Copyright © 2024 Atlassian. All rights reserved.