|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.gadgets.directory.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 null| Method Detail |
|---|
public ExternalGadgetSpecId getId()
ExternalGadgetSpec, guaranteed to be unique
across the host application.
ExternalGadgetSpecpublic URI getSpecUri()
public boolean equals(Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||