jwrapper.jwutils
Class JWLauncher

java.lang.Object
  extended by jwrapper.jwutils.JWLauncher

public class JWLauncher
extends java.lang.Object

Used to set options on a launch by configuring internal JWrapper dynamic properties


Constructor Summary
JWLauncher()
           
 
Method Summary
static void setCreateDebugLogs(java.util.Properties lp)
           
static void setCreateDebugLogsUntil(java.util.Properties lp, long stopCreatingLogsAfter)
           
static void setElevateToAdminOrRootViaDialog(java.util.Properties lp)
           
static void setElevateToRootAutomatically(java.util.Properties lp, java.lang.String password)
          Sets a virtual app launch to elevate to root using the specified username and password.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JWLauncher

public JWLauncher()
Method Detail

setCreateDebugLogs

public static void setCreateDebugLogs(java.util.Properties lp)

setCreateDebugLogsUntil

public static void setCreateDebugLogsUntil(java.util.Properties lp,
                                           long stopCreatingLogsAfter)

setElevateToAdminOrRootViaDialog

public static void setElevateToAdminOrRootViaDialog(java.util.Properties lp)

setElevateToRootAutomatically

public static void setElevateToRootAutomatically(java.util.Properties lp,
                                                 java.lang.String password)
Sets a virtual app launch to elevate to root using the specified username and password. Note that this is not possible on Windows since UAC may pop up a dialog, this method therefore only has an effect on Linux and MacOS launches

Parameters:
lp -
password - the root user password