Package org.ametys.runtime.workspace
Class Workspace
- java.lang.Object
-
- org.ametys.runtime.workspace.Workspace
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidconfigure(Configuration configuration)(package private) ConfigurationgetConfiguration()StringgetEmbededLocation()Get the workspace base uri if embededFilegetExternalLocation()GetThe workspace location if externalStringgetName()Returns this workspace's name.Set<String>getTags()Get the tags of the workspaceStringgetThemeLocation()Get the location of the theme associated to this workspaceStringgetThemeName()Get the name of the theme associated to this workspaceStringgetThemeURL()Get the location of the theme associated to this workspace
-
-
-
Method Detail
-
getEmbededLocation
public String getEmbededLocation()
Get the workspace base uri if embeded- Returns:
- the workspace base uri. Can be null if external
-
getExternalLocation
public File getExternalLocation()
GetThe workspace location if external- Returns:
- the workspace location. Can be null if embeded
-
getThemeName
public String getThemeName()
Get the name of the theme associated to this workspace- Returns:
- The name such as ametys-base
-
getThemeLocation
public String getThemeLocation()
Get the location of the theme associated to this workspace- Returns:
- The location. Such as plugin:core-ui://resources/themes/theme-ametys-base
-
getThemeURL
public String getThemeURL()
Get the location of the theme associated to this workspace- Returns:
- The relative location. Such as /plugins/core-ui/resources/themes/theme-ametys-base
-
getTags
public Set<String> getTags()
Get the tags of the workspace- Returns:
- The non-null set of tags
-
getConfiguration
Configuration getConfiguration()
-
configure
void configure(Configuration configuration)
-
-