it.geosolutions.geobatch.ftpserver.model
Class FtpProps
java.lang.Object
it.geosolutions.geobatch.ftpserver.model.FtpProps
- All Implemented Interfaces:
- java.io.Serializable
public class FtpProps
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- giuseppe
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
FtpProps
public FtpProps()
FtpProps
public FtpProps(java.lang.Long id)
getId
public java.lang.Long getId()
- Returns:
- the id
setId
public void setId(java.lang.Long id)
- Parameters:
id - the id to set
isWritePermission
public boolean isWritePermission()
- Returns:
- true if the user has write permissions
setWritePermission
public void setWritePermission(boolean writePermission)
getMaxIdleTime
public int getMaxIdleTime()
- Returns:
- the idleTime in seconds. 0 means idletime is not considered
setMaxIdleTime
public void setMaxIdleTime(int idleTime)
- Parameters:
idleTime - the idleTime to set
getUploadRate
public int getUploadRate()
- Returns:
- the uploadRate
setUploadRate
public void setUploadRate(int uploadRate)
- Parameters:
uploadRate - the uploadRate to set
getDownloadRate
public int getDownloadRate()
- Returns:
- the downloadRate
setDownloadRate
public void setDownloadRate(int downloadRate)
- Parameters:
downloadRate - the downloadRate to set
getMaxLoginNumber
public int getMaxLoginNumber()
- Returns:
- the maxLoginNumber the user can perform at the same time
- See Also:
ConnectionConfigFactory.getMaxLogins()
setMaxLoginNumber
public void setMaxLoginNumber(int maxLoginNumber)
- Parameters:
maxLoginNumber - the maxLoginNumber to set
getMaxLoginPerIp
public int getMaxLoginPerIp()
- Returns:
- the maxLoginPerIp
setMaxLoginPerIp
public void setMaxLoginPerIp(int maxLoginPerIp)
- Parameters:
maxLoginPerIp - the maxLoginPerIp to set
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
Copyright © 2008-2012 GeoSolutions. All Rights Reserved.