public class RSync extends AbstractBinaryWithTimeout
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String[] |
additional |
protected java.lang.String |
address |
protected boolean |
append |
protected boolean |
append_verify |
protected boolean |
archive |
protected boolean |
backup |
protected java.lang.String |
backup_dir |
protected java.lang.String |
block_size |
protected boolean |
blocking_io |
protected java.lang.String |
bwlimit |
protected boolean |
checksum |
protected int |
checksum_seed |
protected java.lang.String |
chmod |
protected java.lang.String |
chown |
protected java.lang.String[] |
compare_dest |
protected boolean |
compress |
protected int |
compress_level |
protected int |
contimeout |
protected java.lang.String[] |
copy_dest |
protected boolean |
copy_dirlinks |
protected boolean |
copy_links |
protected boolean |
copy_unsafe_links |
protected boolean |
cvs_exclude |
protected java.lang.String |
debug |
protected boolean |
delay_updates |
protected boolean |
delete |
protected boolean |
delete_after |
protected boolean |
delete_before |
protected boolean |
delete_delay |
protected boolean |
delete_during |
protected boolean |
delete_excluded |
protected boolean |
delete_missing_args |
protected java.lang.String |
destination
the destination path/url.
|
protected boolean |
devices |
protected boolean |
dirs |
protected boolean |
dry_run |
protected boolean |
eight_bit_output |
protected boolean |
executability |
protected boolean |
existing |
protected boolean |
fake_super |
protected java.lang.String |
files_from |
protected boolean |
force |
protected boolean |
from0 |
protected boolean |
fuzzy |
protected boolean |
group |
protected java.lang.String |
groupmap |
protected boolean |
hard_links |
protected boolean |
human_readable |
protected java.lang.String |
iconv |
protected boolean |
ignore_errors |
protected boolean |
ignore_existing |
protected boolean |
ignore_missing_args |
protected boolean |
ignore_times |
protected java.util.List<java.lang.String> |
include_exclude |
protected java.lang.String |
info |
protected boolean |
inplace |
protected boolean |
ipv4 |
protected boolean |
ipv6 |
protected boolean |
itemize_changes |
protected boolean |
keep_dirlinks |
protected java.lang.String[] |
link_dest |
protected boolean |
links |
protected boolean |
list_only |
protected java.lang.String |
log_file |
protected java.lang.String |
log_file_format |
protected int |
max_delete |
protected java.lang.String |
max_size |
protected java.lang.String |
min_size |
protected int |
modify_window |
protected boolean |
msgs2stderr |
protected boolean |
munge_links |
protected boolean |
no_implied_dirs |
protected boolean |
no_motd |
protected boolean |
numeric_ids |
protected boolean |
omit_dir_times |
protected boolean |
omit_link_times |
protected boolean |
one_file_system |
protected java.lang.String |
only_write_batch |
protected java.lang.String |
out_format |
protected char |
outbuf |
protected boolean |
owner |
protected boolean |
partial |
protected java.lang.String |
partial_dir |
protected java.lang.String |
password_file |
protected boolean |
perms |
protected int |
port |
protected boolean |
preallocate |
protected boolean |
progress |
protected boolean |
protect_args |
protected int |
protocol |
protected boolean |
prune_empty_dirs |
protected boolean |
quiet |
protected java.lang.String |
read_batch |
protected boolean |
recursive |
protected boolean |
relative |
protected java.lang.String |
remote_option |
protected boolean |
remove_source_files |
protected java.lang.String |
rsh |
protected java.lang.String |
rsync_path |
protected boolean |
safe_links |
protected boolean |
size_only |
protected java.lang.String |
skip_compress |
protected java.lang.String |
sockopts |
protected java.util.List<java.lang.String> |
sources
the source path/url.
|
protected boolean |
sparse |
protected boolean |
specials |
protected boolean |
stats |
protected java.lang.String |
suffix |
protected boolean |
super_ |
protected java.lang.String |
temp_dir |
protected int |
timeout |
protected boolean |
times |
protected boolean |
update |
protected java.lang.String |
usermap |
protected boolean |
verbose |
protected boolean |
version |
protected boolean |
whole_file |
protected java.lang.String |
write_batch |
protected boolean |
xattrs |
max_timelogger, outputCommandline| Constructor and Description |
|---|
RSync() |
| Modifier and Type | Method and Description |
|---|---|
protected RSync |
addIncludeExclude(java.lang.String id,
java.lang.String... list)
Adds a list of include/exclude items.
|
RSync |
additional(java.lang.String... additional)
Automatically replaces leading "+" and "++" with corresponding "-" and "--".
|
RSync |
address(java.lang.String address) |
RSync |
append(boolean append) |
RSync |
appendVerify(boolean append_verify) |
RSync |
archive(boolean archive) |
RSync |
backup(boolean backup) |
RSync |
backupDir(java.lang.String backup_dir) |
RSync |
blockingIO(boolean blocking_io) |
RSync |
blockSize(java.lang.String block_size) |
RSync |
bwlimit(java.lang.String bwlimit) |
RSync |
checksum(boolean checksum) |
RSync |
checksumSeed(int checksum_seed) |
RSync |
chmod(java.lang.String chmod) |
RSync |
chown(java.lang.String chown) |
java.util.List<java.lang.String> |
commandLineArgs()
Assembles the full command-line arguments.
|
RSync |
compareDest(java.lang.String... compare_dest) |
RSync |
compress(boolean compress) |
RSync |
compressLevel(int compress_level) |
RSync |
contimeout(int contimeout) |
RSync |
copyDest(java.lang.String... copy_dest) |
RSync |
copyDirlinks(boolean copy_dirlinks) |
RSync |
copyLinks(boolean copy_links) |
RSync |
copyUnsafeLinks(boolean copy_unsafe_links) |
RSync |
cvsExclude(boolean cvs_exclude) |
RSync |
debug(java.lang.String debug) |
RSync |
delayUpdates(boolean delay_updates) |
RSync |
delete(boolean delete) |
RSync |
deleteAfter(boolean delete_after) |
RSync |
deleteBefore(boolean delete_before) |
RSync |
deleteDelay(boolean delete_delay) |
RSync |
deleteDuring(boolean delete_during) |
RSync |
deleteExcluded(boolean delete_excluded) |
RSync |
deleteMissingArgs(boolean delete_missing_args) |
protected java.lang.String |
description()
Returns a short description for the binary.
|
RSync |
destination(java.lang.String value)
Sets the destination path/url.
|
RSync |
devices(boolean devices) |
RSync |
dirs(boolean dirs) |
RSync |
dryRun(boolean dry_run) |
RSync |
eightBitOutput(boolean eight_bit_output) |
RSync |
exclude(java.lang.String... exclude) |
RSync |
excludeFrom(java.lang.String... exclude_from) |
RSync |
executability(boolean executability) |
RSync |
existing(boolean existing) |
RSync |
fakeSuper(boolean fake_super) |
RSync |
filesFrom(java.lang.String files_from) |
RSync |
filter(java.lang.String... filter) |
RSync |
force(boolean force) |
RSync |
from0(boolean from0) |
RSync |
fuzzy(boolean fuzzy) |
java.lang.String[] |
getAdditional() |
java.lang.String |
getAddress() |
java.lang.String |
getBackupDir() |
java.lang.String |
getBlockSize() |
java.lang.String |
getBwlimit() |
int |
getChecksumSeed() |
java.lang.String |
getChmod() |
java.lang.String |
getChown() |
java.lang.String[] |
getCompareDest() |
int |
getCompressLevel() |
int |
getContimeout() |
java.lang.String[] |
getCopyDest() |
java.lang.String |
getDebug() |
java.lang.String |
getDestination()
Returns the current destination path/url.
|
java.lang.String[] |
getExclude() |
java.lang.String[] |
getExcludeFrom() |
java.lang.String |
getFilesFrom() |
java.lang.String[] |
getFilter() |
java.lang.String |
getGroupmap() |
java.lang.String |
getIconv() |
java.lang.String[] |
getInclude() |
protected java.lang.String[] |
getIncludeExclude() |
java.lang.String[] |
getIncludeFrom() |
java.lang.String |
getInfo() |
java.lang.String[] |
getLinkDest() |
java.lang.String |
getLogFile() |
java.lang.String |
getLogFileFormat() |
int |
getMaxDelete() |
java.lang.String |
getMaxSize() |
java.lang.String |
getMinSize() |
int |
getModifyWindow() |
java.lang.String |
getOnlyWriteBatch() |
char |
getOutbuf() |
java.lang.String |
getOutFormat() |
protected net.sourceforge.argparse4j.inf.ArgumentParser |
getParser()
Configures and returns the commandline parser.
|
java.lang.String |
getPartialDir() |
java.lang.String |
getPasswordFile() |
int |
getPort() |
int |
getProtocol() |
java.lang.String |
getReadBatch() |
java.lang.String |
getRemoteOption() |
java.lang.String |
getRsh() |
java.lang.String |
getRsyncPath() |
java.lang.String |
getSkipCompress() |
java.lang.String |
getSockopts() |
java.util.List<java.lang.String> |
getSources()
Returns the current source paths/urls.
|
java.lang.String |
getSuffix() |
java.lang.String |
getTempDir() |
int |
getTimeout() |
java.lang.String |
getUsermap() |
java.lang.String |
getWriteBatch() |
RSync |
group(boolean group) |
RSync |
groupmap(java.lang.String groupmap) |
RSync |
hardLinks(boolean hard_links) |
RSync |
humanReadable(boolean human_readable) |
RSync |
iconv(java.lang.String iconv) |
RSync |
ignoreErrors(boolean ignore_errors) |
RSync |
ignoreExisting(boolean ignore_existing) |
RSync |
ignoreMissingArgs(boolean ignore_missing_args) |
RSync |
ignoreTimes(boolean ignore_times) |
RSync |
include(java.lang.String... include) |
protected java.lang.String[] |
includeExcludeSubset(java.lang.String id)
Returns a subset of the include/exclude list.
|
RSync |
includeFrom(java.lang.String... include_from) |
RSync |
info(java.lang.String info) |
RSync |
inplace(boolean inplace) |
RSync |
ipv4(boolean ipv4) |
RSync |
ipv6(boolean ipv6) |
boolean |
isAppend() |
boolean |
isAppendVerify() |
boolean |
isArchive() |
boolean |
isBackup() |
boolean |
isBlockingIO() |
boolean |
isChecksum() |
boolean |
isCompress() |
boolean |
isCopyDirlinks() |
boolean |
isCopyLinks() |
boolean |
isCopyUnsafeLinks() |
boolean |
isCvsExclude() |
boolean |
isDelayUpdates() |
boolean |
isDelete() |
boolean |
isDeleteAfter() |
boolean |
isDeleteBefore() |
boolean |
isDeleteDelay() |
boolean |
isDeleteDuring() |
boolean |
isDeleteExcluded() |
boolean |
isDeleteMissingArgs() |
boolean |
isDevices() |
boolean |
isDirs() |
boolean |
isDryRun() |
boolean |
isEightBitOutput() |
boolean |
isExecutability() |
boolean |
isExisting() |
boolean |
isFakeSuper() |
boolean |
isForce() |
boolean |
isFrom0() |
boolean |
isFuzzy() |
boolean |
isGroup() |
boolean |
isHardLinks() |
boolean |
isHumanReadable() |
boolean |
isIgnoreErrors() |
boolean |
isIgnoreExisting() |
boolean |
isIgnoreMissingArgs() |
boolean |
isIgnoreTimes() |
boolean |
isInplace() |
boolean |
isIpv4() |
boolean |
isIpv6() |
boolean |
isItemizeChanges() |
boolean |
isKeepDirlinks() |
boolean |
isLinks() |
boolean |
isListOnly() |
boolean |
isMsgs2stderr() |
boolean |
isMungeLinks() |
boolean |
isNoImpliedDirs() |
boolean |
isNoMotd() |
boolean |
isNumericIds() |
boolean |
isOmitDirTimes() |
boolean |
isOmitLinkTimes() |
boolean |
isOneFileSystem() |
boolean |
isOwner() |
boolean |
isPartial() |
boolean |
isPerms() |
boolean |
isPreallocate() |
boolean |
isProgress() |
boolean |
isProtectArgs() |
boolean |
isPruneEmptyDirs() |
boolean |
isQuiet() |
boolean |
isRecursive() |
boolean |
isRelative() |
boolean |
isRemoveSourceFiles() |
boolean |
isSafeLinks() |
boolean |
isSizeOnly() |
boolean |
isSparse() |
boolean |
isSpecials() |
boolean |
isStats() |
boolean |
isSuper_() |
boolean |
isTimes() |
boolean |
isUpdate() |
boolean |
isVerbose() |
boolean |
isVersion() |
boolean |
isWholeFile() |
boolean |
isXattrs() |
RSync |
itemizeChanges(boolean itemize_changes) |
RSync |
keepDirlinks(boolean keep_dirlinks) |
RSync |
linkDest(java.lang.String... link_dest) |
RSync |
links(boolean links) |
RSync |
listOnly(boolean list_only) |
RSync |
logFile(java.lang.String log_file) |
RSync |
logFileFormat(java.lang.String log_file_format) |
static void |
main(java.lang.String[] args)
For running from the command-line.
|
RSync |
maxDelete(int max_delete) |
RSync |
maxSize(java.lang.String max_size) |
RSync |
minSize(java.lang.String min_size) |
RSync |
modifyWindow(int modify_window) |
RSync |
msgs2stderr(boolean msgs2stderr) |
RSync |
mungeLinks(boolean munge_links) |
RSync |
noImpliedDirs(boolean no_implied_dirs) |
RSync |
noMotd(boolean no_motd) |
RSync |
numericIds(boolean numeric_ids) |
RSync |
omitDirTimes(boolean omit_dir_times) |
RSync |
omitLinkTimes(boolean omit_link_times) |
RSync |
oneFileSystem(boolean one_file_system) |
RSync |
onlyWriteBatch(java.lang.String only_write_batch) |
java.util.List<java.lang.String> |
options()
Assembles the arguments for the binary.
|
RSync |
outbuf(char outbuf) |
RSync |
outFormat(java.lang.String out_format) |
RSync |
outputCommandline(boolean value)
Sets output commandline flag.
|
RSync |
owner(boolean owner) |
RSync |
partial(boolean partial) |
RSync |
partialDir(java.lang.String partial_dir) |
RSync |
passwordFile(java.lang.String password_file) |
RSync |
perms(boolean perms) |
RSync |
port(int port) |
RSync |
preallocate(boolean preallocate) |
RSync |
progress(boolean progress) |
RSync |
protectArgs(boolean protect_args) |
RSync |
protocol(int protocol) |
RSync |
pruneEmptyDirs(boolean prune_empty_dirs) |
RSync |
quiet(boolean quiet) |
RSync |
readBatch(java.lang.String read_batch) |
RSync |
recursive(boolean recursive) |
RSync |
relative(boolean relative) |
RSync |
remoteOption(java.lang.String remote_option) |
RSync |
removeSourceFiles(boolean remove_source_files) |
void |
reset()
Resets the members.
|
RSync |
rsh(java.lang.String rsh) |
RSync |
rsyncPath(java.lang.String rsync_path) |
RSync |
safeLinks(boolean safe_links) |
protected boolean |
setOptions(net.sourceforge.argparse4j.inf.Namespace ns)
Sets the parsed options.
|
RSync |
sizeOnly(boolean size_only) |
RSync |
skipCompress(java.lang.String skip_compress) |
RSync |
sockopts(java.lang.String sockopts) |
RSync |
source(java.lang.String value)
Sets the source path/url.
|
RSync |
sources(java.util.List<java.lang.String> value)
Sets the source paths/urls.
|
RSync |
sources(java.lang.String[] value)
Sets the source paths/urls.
|
RSync |
sparse(boolean sparse) |
RSync |
specials(boolean specials) |
RSync |
stats(boolean stats) |
RSync |
suffix(java.lang.String suffix) |
RSync |
super_(boolean super_) |
RSync |
tempDir(java.lang.String temp_dir) |
RSync |
timeout(int timeout) |
RSync |
times(boolean times) |
RSync |
update(boolean update) |
RSync |
usermap(java.lang.String usermap) |
RSync |
verbose(boolean verbose) |
RSync |
version(boolean version) |
RSync |
wholeFile(boolean whole_file) |
RSync |
writeBatch(java.lang.String write_batch) |
RSync |
xattrs(boolean xattrs) |
execute, getMaxTime, maxTimebuilder, getOutputCommandline, run, setOptions, startprotected java.util.List<java.lang.String> sources
protected java.lang.String destination
protected boolean verbose
protected java.lang.String info
protected java.lang.String debug
protected boolean msgs2stderr
protected boolean quiet
protected boolean no_motd
protected boolean checksum
protected boolean archive
protected boolean recursive
protected boolean relative
protected boolean no_implied_dirs
protected boolean backup
protected java.lang.String backup_dir
protected java.lang.String suffix
protected boolean update
protected boolean inplace
protected boolean append
protected boolean append_verify
protected boolean dirs
protected boolean links
protected boolean copy_links
protected boolean copy_unsafe_links
protected boolean safe_links
protected boolean munge_links
protected boolean copy_dirlinks
protected boolean keep_dirlinks
protected boolean hard_links
protected boolean perms
protected boolean executability
protected java.lang.String chmod
protected boolean xattrs
protected boolean owner
protected boolean group
protected boolean devices
protected boolean specials
protected boolean times
protected boolean omit_dir_times
protected boolean omit_link_times
protected boolean super_
protected boolean fake_super
protected boolean sparse
protected boolean preallocate
protected boolean dry_run
protected boolean whole_file
protected boolean one_file_system
protected java.lang.String block_size
protected java.lang.String rsh
protected java.lang.String rsync_path
protected boolean existing
protected boolean ignore_existing
protected boolean remove_source_files
protected boolean delete
protected boolean delete_before
protected boolean delete_during
protected boolean delete_delay
protected boolean delete_after
protected boolean delete_excluded
protected boolean ignore_missing_args
protected boolean delete_missing_args
protected boolean ignore_errors
protected boolean force
protected int max_delete
protected java.lang.String max_size
protected java.lang.String min_size
protected boolean partial
protected java.lang.String partial_dir
protected boolean delay_updates
protected boolean prune_empty_dirs
protected boolean numeric_ids
protected java.lang.String usermap
protected java.lang.String groupmap
protected java.lang.String chown
protected int timeout
protected int contimeout
protected boolean ignore_times
protected java.lang.String remote_option
protected boolean size_only
protected int modify_window
protected java.lang.String temp_dir
protected boolean fuzzy
protected java.lang.String[] compare_dest
protected java.lang.String[] copy_dest
protected java.lang.String[] link_dest
protected boolean compress
protected int compress_level
protected java.lang.String skip_compress
protected boolean cvs_exclude
protected java.util.List<java.lang.String> include_exclude
protected java.lang.String files_from
protected boolean from0
protected boolean protect_args
protected java.lang.String address
protected int port
protected java.lang.String sockopts
protected boolean blocking_io
protected boolean stats
protected boolean eight_bit_output
protected boolean human_readable
protected boolean progress
protected boolean itemize_changes
protected java.lang.String out_format
protected java.lang.String log_file
protected java.lang.String log_file_format
protected java.lang.String password_file
protected boolean list_only
protected java.lang.String bwlimit
protected char outbuf
protected java.lang.String write_batch
protected java.lang.String only_write_batch
protected java.lang.String read_batch
protected int protocol
protected java.lang.String iconv
protected int checksum_seed
protected boolean ipv4
protected boolean ipv6
protected boolean version
protected java.lang.String[] additional
public void reset()
reset in class AbstractBinaryWithTimeoutpublic RSync source(java.lang.String value)
value - the sourcepublic RSync sources(java.lang.String[] value)
value - the sourcespublic RSync sources(java.util.List<java.lang.String> value)
value - the sourcespublic java.util.List<java.lang.String> getSources()
public RSync destination(java.lang.String value)
value - the destinationpublic java.lang.String getDestination()
public RSync outputCommandline(boolean value)
outputCommandline in class AbstractBinaryvalue - true if to output commandlinepublic boolean isVerbose()
public RSync verbose(boolean verbose)
public java.lang.String getInfo()
public RSync info(java.lang.String info)
public java.lang.String getDebug()
public RSync debug(java.lang.String debug)
public boolean isMsgs2stderr()
public RSync msgs2stderr(boolean msgs2stderr)
public boolean isQuiet()
public RSync quiet(boolean quiet)
public boolean isNoMotd()
public RSync noMotd(boolean no_motd)
public boolean isChecksum()
public RSync checksum(boolean checksum)
public boolean isArchive()
public RSync archive(boolean archive)
public boolean isRecursive()
public RSync recursive(boolean recursive)
public boolean isRelative()
public RSync relative(boolean relative)
public boolean isNoImpliedDirs()
public RSync noImpliedDirs(boolean no_implied_dirs)
public boolean isBackup()
public RSync backup(boolean backup)
public java.lang.String getBackupDir()
public RSync backupDir(java.lang.String backup_dir)
public java.lang.String getSuffix()
public RSync suffix(java.lang.String suffix)
public boolean isUpdate()
public RSync update(boolean update)
public boolean isInplace()
public RSync inplace(boolean inplace)
public boolean isAppend()
public RSync append(boolean append)
public boolean isAppendVerify()
public RSync appendVerify(boolean append_verify)
public boolean isDirs()
public RSync dirs(boolean dirs)
public boolean isLinks()
public RSync links(boolean links)
public boolean isCopyLinks()
public RSync copyLinks(boolean copy_links)
public boolean isCopyUnsafeLinks()
public RSync copyUnsafeLinks(boolean copy_unsafe_links)
public boolean isSafeLinks()
public RSync safeLinks(boolean safe_links)
public boolean isMungeLinks()
public RSync mungeLinks(boolean munge_links)
public boolean isCopyDirlinks()
public RSync copyDirlinks(boolean copy_dirlinks)
public boolean isKeepDirlinks()
public RSync keepDirlinks(boolean keep_dirlinks)
public boolean isHardLinks()
public RSync hardLinks(boolean hard_links)
public boolean isPerms()
public RSync perms(boolean perms)
public boolean isExecutability()
public RSync executability(boolean executability)
public java.lang.String getChmod()
public RSync chmod(java.lang.String chmod)
public boolean isXattrs()
public RSync xattrs(boolean xattrs)
public boolean isOwner()
public RSync owner(boolean owner)
public boolean isGroup()
public RSync group(boolean group)
public boolean isDevices()
public RSync devices(boolean devices)
public boolean isSpecials()
public RSync specials(boolean specials)
public boolean isTimes()
public RSync times(boolean times)
public boolean isOmitDirTimes()
public RSync omitDirTimes(boolean omit_dir_times)
public boolean isOmitLinkTimes()
public RSync omitLinkTimes(boolean omit_link_times)
public boolean isSuper_()
public RSync super_(boolean super_)
public boolean isFakeSuper()
public RSync fakeSuper(boolean fake_super)
public boolean isSparse()
public RSync sparse(boolean sparse)
public boolean isPreallocate()
public RSync preallocate(boolean preallocate)
public boolean isDryRun()
public RSync dryRun(boolean dry_run)
public boolean isWholeFile()
public RSync wholeFile(boolean whole_file)
public boolean isOneFileSystem()
public RSync oneFileSystem(boolean one_file_system)
public java.lang.String getBlockSize()
public RSync blockSize(java.lang.String block_size)
public java.lang.String getRsh()
public RSync rsh(java.lang.String rsh)
public java.lang.String getRsyncPath()
public RSync rsyncPath(java.lang.String rsync_path)
public boolean isExisting()
public RSync existing(boolean existing)
public boolean isIgnoreExisting()
public RSync ignoreExisting(boolean ignore_existing)
public boolean isRemoveSourceFiles()
public RSync removeSourceFiles(boolean remove_source_files)
public boolean isDelete()
public RSync delete(boolean delete)
public boolean isDeleteBefore()
public RSync deleteBefore(boolean delete_before)
public boolean isDeleteDuring()
public RSync deleteDuring(boolean delete_during)
public boolean isDeleteDelay()
public RSync deleteDelay(boolean delete_delay)
public boolean isDeleteAfter()
public RSync deleteAfter(boolean delete_after)
public boolean isDeleteExcluded()
public RSync deleteExcluded(boolean delete_excluded)
public boolean isIgnoreMissingArgs()
public RSync ignoreMissingArgs(boolean ignore_missing_args)
public boolean isDeleteMissingArgs()
public RSync deleteMissingArgs(boolean delete_missing_args)
public boolean isIgnoreErrors()
public RSync ignoreErrors(boolean ignore_errors)
public boolean isForce()
public RSync force(boolean force)
public int getMaxDelete()
public RSync maxDelete(int max_delete)
public java.lang.String getMaxSize()
public RSync maxSize(java.lang.String max_size)
public java.lang.String getMinSize()
public RSync minSize(java.lang.String min_size)
public boolean isPartial()
public RSync partial(boolean partial)
public java.lang.String getPartialDir()
public RSync partialDir(java.lang.String partial_dir)
public boolean isDelayUpdates()
public RSync delayUpdates(boolean delay_updates)
public boolean isPruneEmptyDirs()
public RSync pruneEmptyDirs(boolean prune_empty_dirs)
public boolean isNumericIds()
public RSync numericIds(boolean numeric_ids)
public java.lang.String getUsermap()
public RSync usermap(java.lang.String usermap)
public java.lang.String getGroupmap()
public RSync groupmap(java.lang.String groupmap)
public java.lang.String getChown()
public RSync chown(java.lang.String chown)
public int getTimeout()
public RSync timeout(int timeout)
public int getContimeout()
public RSync contimeout(int contimeout)
public boolean isIgnoreTimes()
public RSync ignoreTimes(boolean ignore_times)
public java.lang.String getRemoteOption()
public RSync remoteOption(java.lang.String remote_option)
public boolean isSizeOnly()
public RSync sizeOnly(boolean size_only)
public int getModifyWindow()
public RSync modifyWindow(int modify_window)
public java.lang.String getTempDir()
public RSync tempDir(java.lang.String temp_dir)
public boolean isFuzzy()
public RSync fuzzy(boolean fuzzy)
public java.lang.String[] getCompareDest()
public RSync compareDest(java.lang.String... compare_dest)
public java.lang.String[] getCopyDest()
public RSync copyDest(java.lang.String... copy_dest)
public java.lang.String[] getLinkDest()
public RSync linkDest(java.lang.String... link_dest)
public boolean isCompress()
public RSync compress(boolean compress)
public int getCompressLevel()
public RSync compressLevel(int compress_level)
public java.lang.String getSkipCompress()
public RSync skipCompress(java.lang.String skip_compress)
public boolean isCvsExclude()
public RSync cvsExclude(boolean cvs_exclude)
public java.lang.String[] getFilter()
public RSync filter(java.lang.String... filter)
protected java.lang.String[] includeExcludeSubset(java.lang.String id)
id - the subset to retrieve (I, E, IF, EF, F for include, exclude, include-from, exclude-from, filter)protected RSync addIncludeExclude(java.lang.String id, java.lang.String... list)
id - the subset to retrieve (I, E, IF, EF, F for include, exclude, include-from, exclude-from, filter)list - the items to addprotected java.lang.String[] getIncludeExclude()
public java.lang.String[] getExclude()
public RSync exclude(java.lang.String... exclude)
public java.lang.String[] getExcludeFrom()
public RSync excludeFrom(java.lang.String... exclude_from)
public java.lang.String[] getInclude()
public RSync include(java.lang.String... include)
public java.lang.String[] getIncludeFrom()
public RSync includeFrom(java.lang.String... include_from)
public java.lang.String getFilesFrom()
public RSync filesFrom(java.lang.String files_from)
public boolean isFrom0()
public RSync from0(boolean from0)
public boolean isProtectArgs()
public RSync protectArgs(boolean protect_args)
public java.lang.String getAddress()
public RSync address(java.lang.String address)
public int getPort()
public RSync port(int port)
public java.lang.String getSockopts()
public RSync sockopts(java.lang.String sockopts)
public boolean isBlockingIO()
public RSync blockingIO(boolean blocking_io)
public boolean isStats()
public RSync stats(boolean stats)
public boolean isEightBitOutput()
public RSync eightBitOutput(boolean eight_bit_output)
public boolean isHumanReadable()
public RSync humanReadable(boolean human_readable)
public boolean isProgress()
public RSync progress(boolean progress)
public boolean isItemizeChanges()
public RSync itemizeChanges(boolean itemize_changes)
public java.lang.String getOutFormat()
public RSync outFormat(java.lang.String out_format)
public java.lang.String getLogFile()
public RSync logFile(java.lang.String log_file)
public java.lang.String getLogFileFormat()
public RSync logFileFormat(java.lang.String log_file_format)
public java.lang.String getPasswordFile()
public RSync passwordFile(java.lang.String password_file)
public boolean isListOnly()
public RSync listOnly(boolean list_only)
public java.lang.String getBwlimit()
public RSync bwlimit(java.lang.String bwlimit)
public char getOutbuf()
public RSync outbuf(char outbuf)
public java.lang.String getWriteBatch()
public RSync writeBatch(java.lang.String write_batch)
public java.lang.String getOnlyWriteBatch()
public RSync onlyWriteBatch(java.lang.String only_write_batch)
public java.lang.String getReadBatch()
public RSync readBatch(java.lang.String read_batch)
public int getProtocol()
public RSync protocol(int protocol)
public java.lang.String getIconv()
public RSync iconv(java.lang.String iconv)
public int getChecksumSeed()
public RSync checksumSeed(int checksum_seed)
public boolean isIpv4()
public RSync ipv4(boolean ipv4)
public boolean isIpv6()
public RSync ipv6(boolean ipv6)
public boolean isVersion()
public RSync version(boolean version)
public java.lang.String[] getAdditional()
public RSync additional(java.lang.String... additional)
additional - the additional parameterspublic java.util.List<java.lang.String> options()
throws java.lang.Exception
options in class AbstractBinaryjava.lang.Exception - if failed to determine binarypublic java.util.List<java.lang.String> commandLineArgs()
throws java.lang.Exception
commandLineArgs in class AbstractBinaryjava.lang.Exception - if failed to determine binaryoptions()protected java.lang.String description()
description in class AbstractBinaryprotected net.sourceforge.argparse4j.inf.ArgumentParser getParser()
getParser in class AbstractBinaryWithTimeoutprotected boolean setOptions(net.sourceforge.argparse4j.inf.Namespace ns)
setOptions in class AbstractBinaryWithTimeoutns - the parsed optionspublic static void main(java.lang.String[] args)
throws java.lang.Exception
args - the argumentsjava.lang.ExceptionCopyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.