org.virtualbox_6_0
Enum FsObjMoveFlag

java.lang.Object
  extended by java.lang.Enum<FsObjMoveFlag>
      extended by org.virtualbox_6_0.FsObjMoveFlag
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FsObjMoveFlag>

public enum FsObjMoveFlag
extends java.lang.Enum<FsObjMoveFlag>

File moving flags. Interface ID: {2450A05D-80C6-4C96-9A17-94D73293FF86}


Enum Constant Summary
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final FsObjMoveFlag None
No flag set.


Replace

public static final FsObjMoveFlag Replace
Replace the destination file, symlink, etc if it exists, however this does not allow replacing any directories.


FollowLinks

public static final FsObjMoveFlag FollowLinks
Follow symbolic links in the final components or not (only applied to the given source and target paths, not to anything else).


AllowDirectoryMoves

public static final FsObjMoveFlag AllowDirectoryMoves
Allow moving directories accross file system boundraries. Because it is could be a big undertaking, we require extra assurance that we should do it when requested.

Method Detail

values

public static FsObjMoveFlag[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (FsObjMoveFlag c : FsObjMoveFlag.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FsObjMoveFlag valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()

fromValue

public static FsObjMoveFlag fromValue(long v)

fromValue

public static FsObjMoveFlag fromValue(java.lang.String v)