org.virtualbox_7_0
Enum FsObjRenameFlag

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

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

Flags for use when renaming file system objects (files, directories, symlink, etc), seeIGuestSession.fsObjRename(String,String,List). Interface ID: {59BBF3A1-4E23-D7CF-05D5-CCAE32080ED2}


Enum Constant Summary
NoReplace
          Do not replace any destination object.
Replace
          This will attempt to replace any destination object other except directories.
 
Method Summary
static FsObjRenameFlag fromValue(long v)
           
static FsObjRenameFlag fromValue(java.lang.String v)
           
 int value()
           
static FsObjRenameFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FsObjRenameFlag[] 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

NoReplace

public static final FsObjRenameFlag NoReplace
Do not replace any destination object.


Replace

public static final FsObjRenameFlag Replace
This will attempt to replace any destination object other except directories. (The default is to fail if the destination exists.)

Method Detail

values

public static FsObjRenameFlag[] 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 (FsObjRenameFlag c : FsObjRenameFlag.values())
    System.out.println(c);

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

valueOf

public static FsObjRenameFlag 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 FsObjRenameFlag fromValue(long v)

fromValue

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