org.nuxeo.opensocial.gadgets.service
Class ExternalGadgetDescriptor
java.lang.Object
org.nuxeo.opensocial.gadgets.service.BaseGadgetDescriptor
org.nuxeo.opensocial.gadgets.service.ExternalGadgetDescriptor
- All Implemented Interfaces:
- Serializable, GadgetDeclaration
public class ExternalGadgetDescriptor
- extends BaseGadgetDescriptor
- implements GadgetDeclaration
- See Also:
- Serialized Form
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
getDescription
public String getDescription()
- Specified by:
getDescription
in interface GadgetDeclaration
isExternal
public boolean isExternal()
- Specified by:
isExternal
in interface GadgetDeclaration
Copyright © 2011 Nuxeo SAS. All Rights Reserved.