org.nuxeo.opensocial.gadgets.service.api
Interface GadgetDeclaration
- All Known Implementing Classes:
- ExternalGadgetDescriptor, InternalGadgetDescriptor
public interface GadgetDeclaration
This is how code outside of the gadget implementation sees the gadget. The
implementation can be an internal or external gadget. Callers should not
depend on particular implementation strategies since they may vary quite
widely.
- Author:
- Ian Smith
getName
String getName()
getDisabled
boolean getDisabled()
getCategory
String getCategory()
getIconUrl
String getIconUrl()
getResourceAsStream
InputStream getResourceAsStream(String resourcePath)
throws IOException
- Throws:
IOException
getGadgetDefinition
URL getGadgetDefinition()
throws MalformedURLException
- Throws:
MalformedURLException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.