org.nuxeo.opensocial.gadgets.service
Class ExternalGadgetDescriptor
java.lang.Object
org.nuxeo.opensocial.gadgets.service.ExternalGadgetDescriptor
- All Implemented Interfaces:
- GadgetDeclaration
public class ExternalGadgetDescriptor
- extends Object
- implements GadgetDeclaration
ExternalGadgetDescriptor
public ExternalGadgetDescriptor(String category,
boolean disabled,
URL gadgetDefinition,
String iconURL,
String name)
getCategory
public String getCategory()
- Specified by:
getCategory
in interface GadgetDeclaration
getDisabled
public boolean getDisabled()
- Specified by:
getDisabled
in interface GadgetDeclaration
getGadgetDefinition
public URL getGadgetDefinition()
throws MalformedURLException
- Specified by:
getGadgetDefinition
in interface GadgetDeclaration
- Throws:
MalformedURLException
getIconUrl
public String getIconUrl()
- Specified by:
getIconUrl
in interface GadgetDeclaration
getName
public String getName()
- Specified by:
getName
in interface GadgetDeclaration
getResourceAsStream
public InputStream getResourceAsStream(String resourcePath)
throws IOException
- Specified by:
getResourceAsStream
in interface GadgetDeclaration
- Throws:
IOException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.