org.virtualbox_4_3
Enum ProcessCreateFlag

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

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

Guest process execution flags. NOTE: The values are passed to the guest additions, so its not possible to change (move) or reuse values.here. See EXECUTEPROCESSFLAG_XXX in GuestControlSvc.h. Interface ID: {35192799-BFDE-405D-9BEA-C735AB9998E4}


Enum Constant Summary
ExpandArguments
          Expands environment variables in process arguments.
Hidden
          Do not show the started process according to the guest OS guidelines.
IgnoreOrphanedProcesses
          Do not report an error when executed processes are still alive when VBoxService or the guest OS is shutting down.
None
          No flag set.
NoProfile
          Do not use the user's profile data when exeuting a process.
UnquotedArguments
          Work around for Windows and OS/2 applications not following normal argument quoting and escaping rules.
WaitForProcessStartOnly
          Only use the specified timeout value to wait for starting the guest process - the guest process itself then uses an infinite timeout.
WaitForStdErr
          The guest process waits until all data from stderr is read out.
WaitForStdOut
          The guest process waits until all data from stdout is read out.
 
Method Summary
static ProcessCreateFlag fromValue(long v)
           
static ProcessCreateFlag fromValue(java.lang.String v)
           
 int value()
           
static ProcessCreateFlag valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcessCreateFlag[] 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 ProcessCreateFlag None
No flag set.


WaitForProcessStartOnly

public static final ProcessCreateFlag WaitForProcessStartOnly
Only use the specified timeout value to wait for starting the guest process - the guest process itself then uses an infinite timeout.


IgnoreOrphanedProcesses

public static final ProcessCreateFlag IgnoreOrphanedProcesses
Do not report an error when executed processes are still alive when VBoxService or the guest OS is shutting down.


Hidden

public static final ProcessCreateFlag Hidden
Do not show the started process according to the guest OS guidelines.


NoProfile

public static final ProcessCreateFlag NoProfile
Do not use the user's profile data when exeuting a process. Only available for Windows guests.


WaitForStdOut

public static final ProcessCreateFlag WaitForStdOut
The guest process waits until all data from stdout is read out.


WaitForStdErr

public static final ProcessCreateFlag WaitForStdErr
The guest process waits until all data from stderr is read out.


ExpandArguments

public static final ProcessCreateFlag ExpandArguments
Expands environment variables in process arguments.


UnquotedArguments

public static final ProcessCreateFlag UnquotedArguments
Work around for Windows and OS/2 applications not following normal argument quoting and escaping rules. The arguments are passed to the application without any extra quoting, just a single space between each. NOTE: Present since VirtualBox 4.3.28 and 5.0 beta 3.

Method Detail

values

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

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

valueOf

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

fromValue

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