org.metastatic.rsync.v2
Class Module
java.lang.Object
|
+--org.metastatic.rsync.v2.Module
- All Implemented Interfaces:
- Comparable
- public class Module
- extends Object
- implements Comparable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public String name
path
public String path
comment
public String comment
readOnly
public boolean readOnly
list
public boolean list
users
public Set users
secretsFile
public String secretsFile
uid
public String uid
gid
public String gid
exclude
public String exclude
excludeFrom
public String excludeFrom
include
public String include
includeFrom
public String includeFrom
strictModes
public boolean strictModes
hostsAllow
public String hostsAllow
hostsDeny
public String hostsDeny
ignoreErrors
public boolean ignoreErrors
ignoreNonReadable
public boolean ignoreNonReadable
transferLogging
public String transferLogging
logFormat
public String logFormat
timeout
public int timeout
refuseOptions
public String refuseOptions
dontCompress
public String dontCompress
totalConnections
public int totalConnections
maxConnections
public int maxConnections
connections
public int connections
Module
public Module(String name)
hostAllowed
public boolean hostAllowed(InetAddress addr)
- Test if a given host is allowed to connect to this module.
- Parameters:
addr
- The address to test.
- Returns:
- true if the host is allowed.
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interface Comparable