Class ChooseJavaVMConsole
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.console.ChooseJavaVMConsole
-
- All Implemented Interfaces:
Referenceable
public final class ChooseJavaVMConsole extends Action
Displays the console panel which allows developers to have the end user select the Java VM that will be used for any installed LaunchAnywhere Launchers.
Developers can specify the type of VM that the end user should select, and the panel will search the system for an appropriate VM. By default it searches for "jre", "java" and "jview" executables on the end user's machine.
-
-
Constructor Summary
Constructors Constructor Description ChooseJavaVMConsole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAllowChooseSpecificExe()
Whether or not to allow the end-user to locate a specific java executableboolean
getOfferVMInstallation()
Whether or not to offer the end-user the option of having the installer install a VM.java.lang.String
getPrompt()
Returns the panel's prompt to display.java.lang.String
getTitle()
Returns the title of the panel.void
setAllowChooseSpecificExe(boolean state)
Whether or not to allow the end-user to locate a specific java executablevoid
setOfferVMInstallation(boolean offerVMInstallation)
Whether or not to offer the end-user the option of having the installer install a VM.void
setPrompt(java.lang.String prompt)
Defines the panel's prompt to display.void
setTitle(java.lang.String title)
Defines the title of the panel.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
Method Detail
-
getTitle
public java.lang.String getTitle()
Returns the title of the panel.
-
setTitle
public void setTitle(java.lang.String title)
Defines the title of the panel. Default is "Choose Java Virtual Machine".
-
setPrompt
public void setPrompt(java.lang.String prompt)
Defines the panel's prompt to display. Default is "Please Choose a Java VM for Use by the Installed Application".
-
getPrompt
public java.lang.String getPrompt()
Returns the panel's prompt to display.
-
setOfferVMInstallation
public void setOfferVMInstallation(boolean offerVMInstallation)
Whether or not to offer the end-user the option of having the installer install a VM.
-
setAllowChooseSpecificExe
public void setAllowChooseSpecificExe(boolean state)
Whether or not to allow the end-user to locate a specific java executable
-
getOfferVMInstallation
public boolean getOfferVMInstallation()
Whether or not to offer the end-user the option of having the installer install a VM.
-
getAllowChooseSpecificExe
public boolean getAllowChooseSpecificExe()
Whether or not to allow the end-user to locate a specific java executable
-
-