com.application.areca.impl.policy
Class FTPFileSystemPolicy

java.lang.Object
  extended by com.application.areca.impl.policy.AbstractFileSystemPolicy
      extended by com.application.areca.impl.policy.FTPFileSystemPolicy
All Implemented Interfaces:
FileSystemPolicy, Duplicable

public class FTPFileSystemPolicy
extends AbstractFileSystemPolicy
implements FileSystemPolicy


Author:
Olivier PETRUCCI

Areca Build ID : 7299034069467778562

Field Summary
static int DEFAULT_PORT
           
static java.lang.String STORAGE_DIRECTORY_PREFIX
           
 
Fields inherited from class com.application.areca.impl.policy.AbstractFileSystemPolicy
archiveName, id
 
Constructor Summary
FTPFileSystemPolicy()
           
 
Method Summary
 void copyAttributes(FTPFileSystemPolicy policy)
           
 Duplicable duplicate()
          Create a copy of the Duplicable
 java.lang.String getArchivePath()
           
 java.lang.String getDisplayableParameters()
           
 java.lang.String getLogin()
           
 int getMaxRetries()
           
 ArchiveMedium getMedium()
           
 java.lang.String getPassword()
           
 java.lang.String getProtection()
           
 java.lang.String getProtocol()
           
 java.lang.String getRemoteDirectory()
           
 int getRemotePort()
           
 java.lang.String getRemoteServer()
           
 java.lang.String getUid()
           
 FileSystemDriver initFileSystemDriver()
           
 boolean isImplicit()
           
 boolean isPassivMode()
           
 boolean isSecured()
           
 boolean retrySupported()
           
 void setImplicit(boolean implicit)
           
 void setLogin(java.lang.String login)
           
 void setMedium(ArchiveMedium medium)
           
 void setPassivMode(boolean passivMode)
           
 void setPassword(java.lang.String password)
           
 void setProtection(java.lang.String protection)
           
 void setProtocol(java.lang.String protocol)
           
 void setRemoteDirectory(java.lang.String remoteDirectory)
           
 void setRemotePort(int remotePort)
           
 void setRemoteServer(java.lang.String remoteServer)
           
 void synchronizeConfiguration()
           
 java.lang.String toString()
           
 void validate(boolean extendedTests)
           
 void validateExtended()
           
 void validateSimple()
           
 
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

STORAGE_DIRECTORY_PREFIX

public static final java.lang.String STORAGE_DIRECTORY_PREFIX
See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

FTPFileSystemPolicy

public FTPFileSystemPolicy()
Method Detail

synchronizeConfiguration

public void synchronizeConfiguration()
Specified by:
synchronizeConfiguration in interface FileSystemPolicy

validate

public void validate(boolean extendedTests)
              throws ApplicationException
Specified by:
validate 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

getMedium

public ArchiveMedium getMedium()

setMedium

public void setMedium(ArchiveMedium medium)
Specified by:
setMedium in interface FileSystemPolicy

validateSimple

public void validateSimple()
                    throws ApplicationException
Throws:
ApplicationException

validateExtended

public void validateExtended()
                      throws ApplicationException
Throws:
ApplicationException

getArchivePath

public java.lang.String getArchivePath()
Specified by:
getArchivePath in interface FileSystemPolicy

isSecured

public boolean isSecured()

getDisplayableParameters

public java.lang.String getDisplayableParameters()
Specified by:
getDisplayableParameters in interface FileSystemPolicy

initFileSystemDriver

public FileSystemDriver initFileSystemDriver()
                                      throws ApplicationException
Specified by:
initFileSystemDriver in interface FileSystemPolicy
Throws:
ApplicationException

copyAttributes

public void copyAttributes(FTPFileSystemPolicy policy)

duplicate

public Duplicable duplicate()
Description copied from interface: Duplicable
Create a copy of the Duplicable

Specified by:
duplicate in interface Duplicable

getLogin

public java.lang.String getLogin()

setLogin

public void setLogin(java.lang.String login)

isPassivMode

public boolean isPassivMode()

setPassivMode

public void setPassivMode(boolean passivMode)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getRemotePort

public int getRemotePort()

setRemotePort

public void setRemotePort(int remotePort)

getRemoteServer

public java.lang.String getRemoteServer()

setRemoteServer

public void setRemoteServer(java.lang.String remoteServer)

getRemoteDirectory

public java.lang.String getRemoteDirectory()

setRemoteDirectory

public void setRemoteDirectory(java.lang.String remoteDirectory)

getUid

public java.lang.String getUid()

getProtocol

public java.lang.String getProtocol()

setProtocol

public void setProtocol(java.lang.String protocol)

getProtection

public java.lang.String getProtection()

setProtection

public void setProtection(java.lang.String protection)

isImplicit

public boolean isImplicit()

setImplicit

public void setImplicit(boolean implicit)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object