org.nuxeo.opensocial.gadgets.service
Class InternalGadgetDescriptor
java.lang.Object
org.nuxeo.opensocial.gadgets.service.InternalGadgetDescriptor
- All Implemented Interfaces:
- GadgetDeclaration
public class InternalGadgetDescriptor
- extends Object
- implements GadgetDeclaration
GADGETS_PORT
public static final String GADGETS_PORT
- See Also:
- Constant Field Values
GADGETS_HOST
public static final String GADGETS_HOST
- See Also:
- Constant Field Values
GADGETS_PATH
public static final String GADGETS_PATH
- See Also:
- Constant Field Values
HTTP
public static final String HTTP
- See Also:
- Constant Field Values
HTTP_SEPARATOR
public static final String HTTP_SEPARATOR
- See Also:
- Constant Field Values
URL_SEPARATOR
public static final String URL_SEPARATOR
- See Also:
- Constant Field Values
InternalGadgetDescriptor
public InternalGadgetDescriptor()
getName
public String getName()
- Specified by:
getName
in interface GadgetDeclaration
getDisabled
public boolean getDisabled()
- Specified by:
getDisabled
in interface GadgetDeclaration
getIcon
public String getIcon()
getMountPoint
public final String getMountPoint()
getCategory
public final String getCategory()
- Specified by:
getCategory
in interface GadgetDeclaration
setBundle
public final void setBundle(org.osgi.framework.Bundle bundle)
getBundle
public final org.osgi.framework.Bundle getBundle()
setComponentName
public final void setComponentName(ComponentName name)
getComponentName
public final ComponentName getComponentName()
setEntryPoint
public final void setEntryPoint(String entryPoint)
getEntryPoint
public final String getEntryPoint()
getDirectory
public String getDirectory()
getIconUrl
public String getIconUrl()
- Specified by:
getIconUrl
in interface GadgetDeclaration
getUrlPrefix
public StringBuilder getUrlPrefix()
getResourceAsStream
public InputStream getResourceAsStream(String resourcePath)
throws IOException
- Specified by:
getResourceAsStream
in interface GadgetDeclaration
- Throws:
IOException
getGadgetDefinition
public URL getGadgetDefinition()
throws MalformedURLException
- Specified by:
getGadgetDefinition
in interface GadgetDeclaration
- Throws:
MalformedURLException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.