|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.plugins.PluginGadgetSpec.Key
public static final class PluginGadgetSpec.Key
An immutable representation of a unique identifier for plugin gadget specs, composed of a plugin key and resource location path name.
Constructor Summary | |
---|---|
PluginGadgetSpec.Key(String pluginKey,
String location)
Constructs a new PluginGadgetSpec.Key from the specified plugin key and resource location. |
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PluginGadgetSpec.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 null
Method Detail |
---|
public String getPluginKey()
public String getLocation()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |