Class Workspace


  • public class Workspace
    extends Object
    • Constructor Detail

      • Workspace

        public Workspace​(String workspaceId,
                         String name)
      • Workspace

        public Workspace​(String workspaceId)
      • Workspace

        public Workspace()
    • Method Detail

      • updateLastseen

        public void updateLastseen()
      • getWorkspaceId

        public String getWorkspaceId()
      • setWorkspaceId

        public void setWorkspaceId​(String workspaceId)
      • setWorkspaceDir

        public void setWorkspaceDir​(File workspaceDir)
      • getName

        public String getName()
      • setName

        public void setName​(String name)
      • getLastseen

        public Date getLastseen()
      • setLastseen

        public void setLastseen​(Date lastseen)
      • isCurrent

        public boolean isCurrent()
      • setCurrent

        public void setCurrent​(boolean current)
      • getArchiveSize

        public long getArchiveSize​(String archiveId)
        Returns the size in bytes of one archive in this workspace or 0L if it fails.
        Parameters:
        archiveId - the archive id
        Returns:
        the archive size