public class JWCommandLineWrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
INSTALL_TYPE_ALL_USERS |
static java.lang.String |
INSTALL_TYPE_CURRENT_USER |
static java.lang.String |
INSTALL_TYPE_TEMPORARY |
Constructor and Description |
---|
JWCommandLineWrapper() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
overrideApp(java.lang.String appName,
boolean matchAppVersionToServer,
java.lang.String installType)
Override the app to be launched (allows launching more than one app)
|
void |
overrideUpdateURL(java.lang.String url)
Set the update URL for this launch (note that if this is not specified
then the default one from this app bundle build will be used)
|
void |
setElevate(boolean elevate)
Set this launch to elevate (request admin privileges)
|
void |
setLaunchProperties(java.util.Properties props)
Set the launch properties for this launch.
|
void |
setVirtualApp(java.lang.String vapp)
Set the virtual app to be launched, if not set the default install + launch sequence
will be used
|
void |
updateAndLaunchAppNow()
Launch the configured app bundle
|
public static final java.lang.String INSTALL_TYPE_ALL_USERS
public static final java.lang.String INSTALL_TYPE_CURRENT_USER
public static final java.lang.String INSTALL_TYPE_TEMPORARY
public void setLaunchProperties(java.util.Properties props)
props
- the launch properties for this launchpublic void setElevate(boolean elevate)
elevate
- whether to elevatepublic void setVirtualApp(java.lang.String vapp)
vapp
- the name of the virtual app to launchpublic void overrideUpdateURL(java.lang.String url)
url
- the update URL for this launchpublic void overrideApp(java.lang.String appName, boolean matchAppVersionToServer, java.lang.String installType)
appName
- the name of the app bundlematchAppVersionToServer
- whether the app bundle must match its version to the serverinstallType
- the install type of the app bundle (e.g. INSTALL_TYPE_ALL_USERS)public void updateAndLaunchAppNow()
public static void main(java.lang.String[] args)