Class ActionSettings

java.lang.Object
backupmanager.settings.ActionSettings
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
CopySettings

public class ActionSettings extends Object implements Serializable, Cloneable
Base class for action settings. Every action has to return action settings, even if it has no settings of it's own, since they are needed for some bookkeeping and more importantly to identify actions when settingss are reloaded.
Author:
dg50
See Also:
  • Field Details

  • Constructor Details

    • ActionSettings

      public ActionSettings(Class actionClass)
      constructor for the base ActinSettings. A class is needed since this is used when config is reloaded to recreate the actions.
      Parameters:
      actionClass -
    • ActionSettings

      public ActionSettings(String className)
      classname must be the full name of the class that uses these settings.
      Parameters:
      className -
  • Method Details

    • getActionClass

      public String getActionClass()
      Returns:
      a class name for an action.
    • getLastBackupTime

      public long getLastBackupTime()
      Time of the last backup in milliseconds
      Returns:
      the lastBackupTime
    • setLastBackupTime

      public void setLastBackupTime(long lastBackupTime)
      Time of the last backup in milliseconds
      Parameters:
      lastBackupTime - the lastBackupTime to set
    • getLastBackupDuration

      public long getLastBackupDuration()
      Returns:
      the lastBackupDuration
    • setLastBackupDuration

      public void setLastBackupDuration(long lastBackupDuration)
      Parameters:
      lastBackupDuration - the lastBackupDuration to set
    • getBackupFilterParams

      public BackupFilterParams getBackupFilterParams()
    • setBackupFilterParams

      public void setBackupFilterParams(BackupFilterParams backupFilterParams)