com.application.areca.impl.policy
Class DefaultFileSystemPolicy
java.lang.Object
com.application.areca.impl.policy.AbstractFileSystemPolicy
com.application.areca.impl.policy.DefaultFileSystemPolicy
- All Implemented Interfaces:
- FileSystemPolicy, Duplicable
public class DefaultFileSystemPolicy
- extends AbstractFileSystemPolicy
- implements FileSystemPolicy
- Author:
- Olivier PETRUCCI
Areca Build ID : 7299034069467778562
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
archivePath
protected java.lang.String archivePath
- Storage path
medium
protected ArchiveMedium medium
DefaultFileSystemPolicy
public DefaultFileSystemPolicy()
validate
public void validate(boolean extendedTests)
throws ApplicationException
- Specified by:
validate
in interface FileSystemPolicy
- Throws:
ApplicationException
initFileSystemDriver
public FileSystemDriver initFileSystemDriver()
throws ApplicationException
- Specified by:
initFileSystemDriver
in interface FileSystemPolicy
- Throws:
ApplicationException
getMaxRetries
public int getMaxRetries()
- Specified by:
getMaxRetries
in interface FileSystemPolicy
retrySupported
public boolean retrySupported()
- Specified by:
retrySupported
in interface FileSystemPolicy
getArchivePath
public java.lang.String getArchivePath()
- Specified by:
getArchivePath
in interface FileSystemPolicy
setArchivePath
public void setArchivePath(java.lang.String archivePath)
copyAttributes
public void copyAttributes(DefaultFileSystemPolicy policy)
duplicate
public Duplicable duplicate()
- Description copied from interface:
Duplicable
- Create a copy of the Duplicable
- Specified by:
duplicate
in interface Duplicable
getDisplayableParameters
public java.lang.String getDisplayableParameters()
- Specified by:
getDisplayableParameters
in interface FileSystemPolicy
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getMedium
public ArchiveMedium getMedium()
setMedium
public void setMedium(ArchiveMedium medium)
- Specified by:
setMedium
in interface FileSystemPolicy
synchronizeConfiguration
public void synchronizeConfiguration()
- Specified by:
synchronizeConfiguration
in interface FileSystemPolicy