org.virtualbox_7_0
Enum FileStatus

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

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

File statuses. Interface ID: {8C86468B-B97B-4080-8914-E29F5B0ABD2C}


Enum Constant Summary
Closed
          Guest file has been closed.
Closing
          Guest file closing.
Down
          Service/OS is stopping, guest file was closed.
Error
          Something went wrong.
Open
          Guest file has been successfully opened.
Opening
          Guest file is opening.
Undefined
          File is in an undefined state.
 
Method Summary
static FileStatus fromValue(long v)
           
static FileStatus fromValue(java.lang.String v)
           
 int value()
           
static FileStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FileStatus[] 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

Undefined

public static final FileStatus Undefined
File is in an undefined state.


Opening

public static final FileStatus Opening
Guest file is opening.


Open

public static final FileStatus Open
Guest file has been successfully opened.


Closing

public static final FileStatus Closing
Guest file closing.


Closed

public static final FileStatus Closed
Guest file has been closed.


Down

public static final FileStatus Down
Service/OS is stopping, guest file was closed.


Error

public static final FileStatus Error
Something went wrong.

Method Detail

values

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

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

valueOf

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

fromValue

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