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
java.lang.String getName()
getDisabled
boolean getDisabled()
getCategory
java.lang.String getCategory()
getIconUrl
java.lang.String getIconUrl()
getResourceAsStream
java.io.InputStream getResourceAsStream(java.lang.String resourcePath)
throws java.io.IOException
- Throws:
java.io.IOException
getGadgetDefinition
java.net.URL getGadgetDefinition()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
Copyright © 2010 Nuxeo SAS. All Rights Reserved.