Class Workspace

java.lang.Object
org.ametys.runtime.workspace.Workspace

public class Workspace extends Object
Object representation of a workspace.xml file
  • Method Details

    • getName

      public String getName()
      Returns this workspace's name.
      Returns:
      this workspace's name.
    • getEmbededLocation

      Get the workspace base uri if embeded
      Returns:
      the workspace base uri. Can be null if external
    • 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

      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