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) void
configure(Configuration configuration)
(package private) Configuration
getConfiguration()
String
getEmbededLocation()
Get the workspace base uri if embededFile
getExternalLocation()
GetThe workspace location if externalString
getName()
Returns this workspace's name.Set<String>
getTags()
Get the tags of the workspaceString
getThemeLocation()
Get the location of the theme associated to this workspaceString
getThemeName()
Get the name of the theme associated to this workspaceString
getThemeURL()
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)
-
-