public static enum CopyFileWorker.Behavior extends java.lang.Enum<CopyFileWorker.Behavior>
| Enum Constant and Description |
|---|
OVERWRITE
Overwrite existing file.
|
RENAME
Rename existing file.
|
SKIP
Do not copy file.
|
| Modifier and Type | Method and Description |
|---|---|
static CopyFileWorker.Behavior |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CopyFileWorker.Behavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CopyFileWorker.Behavior SKIP
public static final CopyFileWorker.Behavior OVERWRITE
public static final CopyFileWorker.Behavior RENAME
public static CopyFileWorker.Behavior[] values()
for (CopyFileWorker.Behavior c : CopyFileWorker.Behavior.values()) System.out.println(c);
public static CopyFileWorker.Behavior valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null