public class ExtensionManifest extends Object
Constructor and Description |
---|
ExtensionManifest() |
Modifier and Type | Method and Description |
---|---|
Collection<String> |
getAuthProviders()
Returns the classnames of all authentication provider classes within the
extension.
|
Collection<String> |
getCSSPaths()
Returns the paths to all CSS resources within the extension.
|
String |
getGuacamoleVersion()
Returns the version of the Guacamole web application for which the
extension was built, such as "0.9.7".
|
Collection<String> |
getJavaScriptPaths()
Returns the paths to all JavaScript resources within the extension.
|
String |
getLargeIcon()
Returns the path to the large favicon, relative to the root of the
extension.
|
String |
getName()
Returns the name of the extension associated with this manifest.
|
String |
getNamespace()
Returns the namespace of the extension associated with this manifest.
|
Map<String,String> |
getResourceTypes()
Returns a map of all resources to their corresponding mimetypes, for all
resources not already declared as JavaScript, CSS, or translation
resources.
|
String |
getSmallIcon()
Returns the path to the small favicon, relative to the root of the
extension.
|
Collection<String> |
getTranslationPaths()
Returns the paths to all translation resources within the extension.
|
void |
setAuthProviders(Collection<String> authProviders)
Sets the classnames of all authentication provider classes within the
extension.
|
void |
setCSSPaths(Collection<String> cssPaths)
Sets the paths to all CSS resources within the extension.
|
void |
setGuacamoleVersion(String guacamoleVersion)
Sets the version of the Guacamole web application for which the
extension was built, such as "0.9.7".
|
void |
setJavaScriptPaths(Collection<String> javaScriptPaths)
Sets the paths to all JavaScript resources within the extension.
|
void |
setLargeIcon(String largeIcon)
Sets the path to the large favicon.
|
void |
setName(String name)
Sets the name of the extension associated with this manifest.
|
void |
setNamespace(String namespace)
Sets the namespace of the extension associated with this manifest.
|
void |
setResourceTypes(Map<String,String> resourceTypes)
Sets the map of all resources to their corresponding mimetypes, for all
resources not already declared as JavaScript, CSS, or translation
resources.
|
void |
setSmallIcon(String smallIcon)
Sets the path to the small favicon.
|
void |
setTranslationPaths(Collection<String> translationPaths)
Sets the paths to all translation resources within the extension.
|
public String getGuacamoleVersion()
public void setGuacamoleVersion(String guacamoleVersion)
guacamoleVersion
- The version of the Guacamole web application for which the extension
was built.public String getName()
public void setName(String name)
name
- The name of the extension associated with this manifest.public String getNamespace()
public void setNamespace(String namespace)
namespace
- The namespace of the extension associated with this manifest.public Collection<String> getJavaScriptPaths()
public void setJavaScriptPaths(Collection<String> javaScriptPaths)
javaScriptPaths
- A collection of paths to all JavaScript resources within the
extension.public Collection<String> getCSSPaths()
public void setCSSPaths(Collection<String> cssPaths)
cssPaths
- A collection of paths to all CSS resources within the extension.public Collection<String> getTranslationPaths()
public void setTranslationPaths(Collection<String> translationPaths)
translationPaths
- A collection of paths to all translation resources within the
extension.public Map<String,String> getResourceTypes()
public void setResourceTypes(Map<String,String> resourceTypes)
resourceTypes
- A map of all resources within the extension to their corresponding
mimetypes.public Collection<String> getAuthProviders()
public void setAuthProviders(Collection<String> authProviders)
authProviders
- A collection of classnames of all authentication providers within
the extension.public String getSmallIcon()
public void setSmallIcon(String smallIcon)
smallIcon
- The path to the small favicon.public String getLargeIcon()
public void setLargeIcon(String largeIcon)
largeIcon
- The path to the large favicon.Copyright © 2016. All rights reserved.