org.metastatic.rsync.v2
Class Options

java.lang.Object
  |
  +--org.metastatic.rsync.v2.Options

public class Options
extends Object


Field Summary
 boolean always_checksum
           
 boolean am_root
           
 boolean am_sender
           
 boolean am_server
           
 String backup_dir
           
 String backup_suffix
           
 int block_size
           
 boolean blocking_io
           
 int bwlimit
           
 String compare_dest
           
 boolean copy_links
           
 boolean copy_unsafe_links
           
 boolean cvs_exclude
           
 boolean delete_after
           
 boolean delete_excluded
           
 boolean delete_mode
           
 boolean do_compression
           
 boolean do_progress
           
 boolean do_stats
           
 boolean dry_run
           
 String exclude
           
 String exclude_from
           
 boolean force_delete
           
 boolean ignore_errors
           
 boolean ignore_times
           
 String include
           
 String include_from
           
 int io_timeout
           
 boolean keep_partial
           
 String keystore
           
 boolean list_only
           
 boolean local_server
           
 String log_format
           
static LongOpt[] LONGOPTS
           
 boolean make_backups
           
 int max_delete
           
 int modify_window
           
 boolean no_whole_file
           
 boolean numeric_ids
           
 boolean one_file_system
           
 boolean only_existing
           
static int OPT_ADDRESS
           
static int OPT_BACKUP_DIR
           
static int OPT_BLOCKING_IO
           
static int OPT_BWLIMIT
           
static int OPT_COMPARE_DEST
           
static int OPT_CONFIG
           
static int OPT_COPY_UNSAFE_LINKS
           
static int OPT_DAEMON
           
static int OPT_DELETE
           
static int OPT_DELETE_AFTER
           
static int OPT_DELETE_EXCLUDED
           
static int OPT_EXCLUDE
           
static int OPT_EXCLUDE_FROM
           
static int OPT_EXISTING
           
static int OPT_FORCE
           
static int OPT_IGNORE_ERRORS
           
 boolean opt_ignore_existing
           
static int OPT_IGNORE_EXISTING
           
static int OPT_INCLUDE
           
static int OPT_INCLUDE_FROM
           
static int OPT_KEYSTORE
           
static int OPT_LOG_FORMAT
           
static int OPT_MAX_DELETE
           
static int OPT_MODIFY_WINDOW
           
static int OPT_NO_BLOCKING_IO
           
static int OPT_NO_WHOLE_FILE
           
static int OPT_NUMERIC_IDS
           
static int OPT_PARTIAL
           
static int OPT_PASSWORD_FILE
           
static int OPT_PORT
           
static int OPT_PROGRESS
           
static int OPT_READ_BATCH
           
static int OPT_RSYNC_PATH
           
static int OPT_SAFE_LINKS
           
static int OPT_SENDER
           
static int OPT_SERVER
           
static int OPT_SIZE_ONLY
           
static int OPT_STATS
           
static int OPT_SUFFIX
           
static int OPT_TIMEOUT
           
static int OPT_USE_SSL
           
static int OPT_VERSION
           
static int OPT_WHOLE_FILE
           
static int OPT_WRITE_BATCH
           
static String OPTSTRING
           
 short orig_umask
           
 String password_file
           
 boolean preserve_devices
           
 boolean preserve_gid
           
 boolean preserve_hard_links
           
 boolean preserve_links
           
 boolean preserve_perms
           
 boolean preserve_times
           
 boolean preserve_uid
           
 int quiet
           
 boolean read_only
           
 boolean recurse
           
 boolean relative_paths
           
 String rsync_path
           
 boolean safe_symlinks
           
 String shell_cmd
           
 boolean size_only
           
 boolean sparse_files
           
 String tmpdir
           
 boolean update_only
           
 boolean use_ssl
           
 int verbose
           
 boolean whole_file
           
 
Constructor Summary
Options()
           
 
Method Summary
static void help(String progname, PrintStream out)
           
 int parseArguments(String progname, String[] argv, PrintStream err)
           
static void version(String progname, PrintStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPT_VERSION

public static final int OPT_VERSION
See Also:
Constant Field Values

OPT_SUFFIX

public static final int OPT_SUFFIX
See Also:
Constant Field Values

OPT_SENDER

public static final int OPT_SENDER
See Also:
Constant Field Values

OPT_SERVER

public static final int OPT_SERVER
See Also:
Constant Field Values

OPT_EXCLUDE

public static final int OPT_EXCLUDE
See Also:
Constant Field Values

OPT_EXCLUDE_FROM

public static final int OPT_EXCLUDE_FROM
See Also:
Constant Field Values

OPT_DELETE

public static final int OPT_DELETE
See Also:
Constant Field Values

OPT_DELETE_EXCLUDED

public static final int OPT_DELETE_EXCLUDED
See Also:
Constant Field Values

OPT_NUMERIC_IDS

public static final int OPT_NUMERIC_IDS
See Also:
Constant Field Values

OPT_RSYNC_PATH

public static final int OPT_RSYNC_PATH
See Also:
Constant Field Values

OPT_FORCE

public static final int OPT_FORCE
See Also:
Constant Field Values

OPT_TIMEOUT

public static final int OPT_TIMEOUT
See Also:
Constant Field Values

OPT_DAEMON

public static final int OPT_DAEMON
See Also:
Constant Field Values

OPT_CONFIG

public static final int OPT_CONFIG
See Also:
Constant Field Values

OPT_PORT

public static final int OPT_PORT
See Also:
Constant Field Values

OPT_INCLUDE

public static final int OPT_INCLUDE
See Also:
Constant Field Values

OPT_INCLUDE_FROM

public static final int OPT_INCLUDE_FROM
See Also:
Constant Field Values

OPT_STATS

public static final int OPT_STATS
See Also:
Constant Field Values

OPT_PARTIAL

public static final int OPT_PARTIAL
See Also:
Constant Field Values

OPT_PROGRESS

public static final int OPT_PROGRESS
See Also:
Constant Field Values

OPT_COPY_UNSAFE_LINKS

public static final int OPT_COPY_UNSAFE_LINKS
See Also:
Constant Field Values

OPT_SAFE_LINKS

public static final int OPT_SAFE_LINKS
See Also:
Constant Field Values

OPT_COMPARE_DEST

public static final int OPT_COMPARE_DEST
See Also:
Constant Field Values

OPT_LOG_FORMAT

public static final int OPT_LOG_FORMAT
See Also:
Constant Field Values

OPT_PASSWORD_FILE

public static final int OPT_PASSWORD_FILE
See Also:
Constant Field Values

OPT_SIZE_ONLY

public static final int OPT_SIZE_ONLY
See Also:
Constant Field Values

OPT_ADDRESS

public static final int OPT_ADDRESS
See Also:
Constant Field Values

OPT_DELETE_AFTER

public static final int OPT_DELETE_AFTER
See Also:
Constant Field Values

OPT_EXISTING

public static final int OPT_EXISTING
See Also:
Constant Field Values

OPT_MAX_DELETE

public static final int OPT_MAX_DELETE
See Also:
Constant Field Values

OPT_BACKUP_DIR

public static final int OPT_BACKUP_DIR
See Also:
Constant Field Values

OPT_IGNORE_ERRORS

public static final int OPT_IGNORE_ERRORS
See Also:
Constant Field Values

OPT_BWLIMIT

public static final int OPT_BWLIMIT
See Also:
Constant Field Values

OPT_BLOCKING_IO

public static final int OPT_BLOCKING_IO
See Also:
Constant Field Values

OPT_NO_BLOCKING_IO

public static final int OPT_NO_BLOCKING_IO
See Also:
Constant Field Values

OPT_WHOLE_FILE

public static final int OPT_WHOLE_FILE
See Also:
Constant Field Values

OPT_NO_WHOLE_FILE

public static final int OPT_NO_WHOLE_FILE
See Also:
Constant Field Values

OPT_MODIFY_WINDOW

public static final int OPT_MODIFY_WINDOW
See Also:
Constant Field Values

OPT_READ_BATCH

public static final int OPT_READ_BATCH
See Also:
Constant Field Values

OPT_WRITE_BATCH

public static final int OPT_WRITE_BATCH
See Also:
Constant Field Values

OPT_IGNORE_EXISTING

public static final int OPT_IGNORE_EXISTING
See Also:
Constant Field Values

OPT_USE_SSL

public static final int OPT_USE_SSL
See Also:
Constant Field Values

OPT_KEYSTORE

public static final int OPT_KEYSTORE
See Also:
Constant Field Values

OPTSTRING

public static final String OPTSTRING
See Also:
Constant Field Values

LONGOPTS

public static final LongOpt[] LONGOPTS

whole_file

public boolean whole_file

no_whole_file

public boolean no_whole_file

list_only

public boolean list_only

always_checksum

public boolean always_checksum

copy_links

public boolean copy_links

preserve_links

public boolean preserve_links

preserve_hard_links

public boolean preserve_hard_links

preserve_perms

public boolean preserve_perms

preserve_devices

public boolean preserve_devices

preserve_uid

public boolean preserve_uid

preserve_gid

public boolean preserve_gid

preserve_times

public boolean preserve_times

update_only

public boolean update_only

cvs_exclude

public boolean cvs_exclude

dry_run

public boolean dry_run

local_server

public boolean local_server

ignore_times

public boolean ignore_times

delete_mode

public boolean delete_mode

delete_excluded

public boolean delete_excluded

one_file_system

public boolean one_file_system

sparse_files

public boolean sparse_files

do_compression

public boolean do_compression

am_root

public boolean am_root

relative_paths

public boolean relative_paths

numeric_ids

public boolean numeric_ids

force_delete

public boolean force_delete

read_only

public boolean read_only

am_server

public boolean am_server

am_sender

public boolean am_sender

recurse

public boolean recurse

do_stats

public boolean do_stats

do_progress

public boolean do_progress

keep_partial

public boolean keep_partial

safe_symlinks

public boolean safe_symlinks

copy_unsafe_links

public boolean copy_unsafe_links

size_only

public boolean size_only

delete_after

public boolean delete_after

only_existing

public boolean only_existing

opt_ignore_existing

public boolean opt_ignore_existing

ignore_errors

public boolean ignore_errors

blocking_io

public boolean blocking_io

make_backups

public boolean make_backups

orig_umask

public short orig_umask

verbose

public int verbose

quiet

public int quiet

io_timeout

public int io_timeout

max_delete

public int max_delete

bwlimit

public int bwlimit

block_size

public int block_size

modify_window

public int modify_window

backup_suffix

public String backup_suffix

tmpdir

public String tmpdir

compare_dest

public String compare_dest

shell_cmd

public String shell_cmd

log_format

public String log_format

password_file

public String password_file

rsync_path

public String rsync_path

backup_dir

public String backup_dir

exclude

public String exclude

exclude_from

public String exclude_from

include

public String include

include_from

public String include_from

use_ssl

public boolean use_ssl

keystore

public String keystore
Constructor Detail

Options

public Options()
Method Detail

parseArguments

public int parseArguments(String progname,
                          String[] argv,
                          PrintStream err)
                   throws IllegalArgumentException
IllegalArgumentException

help

public static void help(String progname,
                        PrintStream out)

version

public static void version(String progname,
                           PrintStream out)