Package backupmanager

Class FileLocation

java.lang.Object
backupmanager.FileLocation
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class FileLocation extends Object implements Serializable, Cloneable, ManagedParameters
Information on a file path or folder path that can be used with the backup system
Author:
dg50
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • path

      public String path
    • mask

      public String mask
    • canEditPath

      public boolean canEditPath
    • canEditMask

      public boolean canEditMask
  • Constructor Details

    • FileLocation

      public FileLocation()
  • Method Details

    • clone

      public FileLocation clone()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.
    • getFreeSpace

      public Long getFreeSpace()
      Get the amount of space at the specified path or null if the path is not set, etc.
      Returns:
      free space in bytes
    • getFileRoot

      public String getFileRoot()
      Get the file system root.
      Returns: