|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.gadgets.spi.ExternalGadgetSpec
@Immutable public final class ExternalGadgetSpec
Models an external gadget spec, which is simply a gadget spec hosted on a web server (as opposed to an internal gadget spec which is stored inside the plugin bundle).
Constructor Summary | |
---|---|
ExternalGadgetSpec(ExternalGadgetSpecId id,
URI specUri)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object other)
|
ExternalGadgetSpecId |
getId()
Returns the ID of this ExternalGadgetSpec , guaranteed to be unique
across the host application. |
URI |
getSpecUri()
Returns the spec URI. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalGadgetSpec(ExternalGadgetSpecId id, URI specUri)
id
- the ExternalGadgetSpecId
to use for this objectspecUri
- the gadget spec URI
IllegalArgumentException
- if any parameter is nullMethod Detail |
---|
public ExternalGadgetSpecId getId()
ExternalGadgetSpec
, guaranteed to be unique
across the host application.
ExternalGadgetSpec
public URI getSpecUri()
public boolean equals(Object other)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |