com.application.areca.impl.policy
Class DefaultFileSystemPolicy

java.lang.Object
  extended by com.application.areca.impl.policy.AbstractFileSystemPolicy
      extended by 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

Field Summary
protected  java.lang.String archivePath
          Storage path
protected  ArchiveMedium medium
           
 
Fields inherited from class com.application.areca.impl.policy.AbstractFileSystemPolicy
archiveName, id
 
Constructor Summary
DefaultFileSystemPolicy()
           
 
Method Summary
 void copyAttributes(DefaultFileSystemPolicy policy)
           
 Duplicable duplicate()
          Create a copy of the Duplicable
 java.lang.String getArchivePath()
           
 java.lang.String getDisplayableParameters()
           
 int getMaxRetries()
           
 ArchiveMedium getMedium()
           
 FileSystemDriver initFileSystemDriver()
           
 boolean retrySupported()
           
 void setArchivePath(java.lang.String archivePath)
           
 void setMedium(ArchiveMedium medium)
           
 void synchronizeConfiguration()
           
 java.lang.String toString()
           
 void validate(boolean extendedTests)
           
 
Methods inherited from class com.application.areca.impl.policy.AbstractFileSystemPolicy
copyAttributes, getArchiveDirectory, getArchiveName, getId, setArchiveName, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.application.areca.impl.policy.FileSystemPolicy
getArchiveDirectory, getArchiveName, getId, setArchiveName
 

Field Detail

archivePath

protected java.lang.String archivePath
Storage path


medium

protected ArchiveMedium medium
Constructor Detail

DefaultFileSystemPolicy

public DefaultFileSystemPolicy()
Method Detail

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