public enum Overwrite extends Enum<Overwrite>
Enum Constant and Description |
---|
ALWAYS
Always re-transfer the file.
|
DIFFERENT
Overwrite only if the existing file is different.
|
DIFFERENT_AND_OLDER
Overwrite only if the existing file is both different and older.
|
NEVER
Don't overwrite - skip transferring the file.
|
OLDER
Overwrite only if the existing file is older.
|
Modifier and Type | Field and Description |
---|---|
static Overwrite |
DEFAULT
The default overwrite value.
|
Modifier and Type | Method and Description |
---|---|
String |
getCommandLineOption() |
String |
getDescription() |
String |
toString() |
static Overwrite |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Overwrite[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Overwrite ALWAYS
public static final Overwrite DIFFERENT
public static final Overwrite DIFFERENT_AND_OLDER
public static final Overwrite NEVER
public static final Overwrite OLDER
public static final Overwrite DEFAULT
public static Overwrite[] values()
for (Overwrite c : Overwrite.values()) System.out.println(c);
public static Overwrite valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getCommandLineOption()
public String getDescription()
Copyright © 2015 Aspera Inc.. All rights reserved.