public enum FsObjMoveFlag extends java.lang.Enum<FsObjMoveFlag>
Enum Constant and Description |
---|
AllowDirectoryMoves
Allow moving directories accross file system boundraries.
|
FollowLinks
Follow symbolic links in the final components or not (only applied to
the given source and target paths, not to anything else).
|
None
No flag set.
|
Replace
Replace the destination file, symlink, etc if it exists, however this
does not allow replacing any directories.
|
Modifier and Type | Method and Description |
---|---|
static FsObjMoveFlag |
fromValue(long v) |
static FsObjMoveFlag |
fromValue(java.lang.String v) |
int |
value() |
static FsObjMoveFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FsObjMoveFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FsObjMoveFlag None
public static final FsObjMoveFlag Replace
public static final FsObjMoveFlag FollowLinks
public static final FsObjMoveFlag AllowDirectoryMoves
public static FsObjMoveFlag[] values()
for (FsObjMoveFlag c : FsObjMoveFlag.values()) System.out.println(c);
public static FsObjMoveFlag 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 nullpublic int value()
public static FsObjMoveFlag fromValue(long v)
public static FsObjMoveFlag fromValue(java.lang.String v)