public class ExternalGadgetDescriptor extends BaseGadgetDescriptor implements GadgetDeclaration
Constructor and Description |
---|
ExternalGadgetDescriptor(String category,
boolean disabled,
URL gadgetDefinition,
String iconURL,
String name) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory() |
String |
getDescription() |
boolean |
getDisabled() |
URL |
getGadgetDefinition() |
String |
getIconUrl() |
String |
getName() |
URL |
getResource(String resourcePath) |
InputStream |
getResourceAsStream(String resourcePath) |
boolean |
isExternal() |
getAuthor, getGadgetSpec, getPublicGadgetDefinition, getScreenshot, getThumbnail, getTitle, getTitle
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAuthor, getGadgetSpec, getPublicGadgetDefinition, getScreenshot, getThumbnail, getTitle, getTitle
public String getCategory()
getCategory
in interface GadgetDeclaration
public boolean getDisabled()
getDisabled
in interface GadgetDeclaration
public URL getGadgetDefinition() throws MalformedURLException
getGadgetDefinition
in interface GadgetDeclaration
MalformedURLException
public String getIconUrl()
getIconUrl
in interface GadgetDeclaration
public String getName()
getName
in interface GadgetDeclaration
public InputStream getResourceAsStream(String resourcePath) throws IOException
getResourceAsStream
in interface GadgetDeclaration
IOException
public URL getResource(String resourcePath) throws IOException
getResource
in interface GadgetDeclaration
IOException
public String getDescription()
getDescription
in interface GadgetDeclaration
public boolean isExternal()
isExternal
in interface GadgetDeclaration
Copyright © 2011 Nuxeo SA. All Rights Reserved.