Class Workspace


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

      • getName

        public String getName()
        Returns this workspace's name.
        Returns:
        this workspace's name.
      • 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<StringgetTags()
        Get the tags of the workspace
        Returns:
        The non-null set of tags