com.application.areca.impl.policy
Class FTPFileSystemPolicy
java.lang.Object
com.application.areca.impl.policy.AbstractFileSystemPolicy
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
FTPFileSystemPolicy
public FTPFileSystemPolicy()
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