Class LaunchDefaultBrowser
- 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.actions.LaunchDefaultBrowser
-
- All Implemented Interfaces:
Referenceable
public final class LaunchDefaultBrowser extends Action
Launches the user's default web browser with the arguments developers specify. It can open a URL or a file on the system. (Should be used only during Pre-Install, Post-Install, Pre-Uninstall, and Post-Uninstall phases.)
-
-
Constructor Summary
Constructors Constructor Description LaunchDefaultBrowser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileAction
getInstalledFile()
The installed file to open.boolean
getShowPleaseWaitPanel()
Whether to show a "Please wait..." panel while executing the action.java.lang.String
getURL()
The URL to open.boolean
getUseInstalledFile()
Whether to open an installed file to open.void
setInstalledFile(FileAction file)
The installed file to open.void
setShowPleaseWaitPanel(boolean show)
Whether to show a "Please wait..." panel while executing the action.void
setURL(java.lang.String url)
Define the URL to open.void
setUseInstalledFile(boolean useTarget)
Whether to open an installed file to open.-
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
-
setShowPleaseWaitPanel
public void setShowPleaseWaitPanel(boolean show)
Whether to show a "Please wait..." panel while executing the action.
-
getShowPleaseWaitPanel
public boolean getShowPleaseWaitPanel()
Whether to show a "Please wait..." panel while executing the action.
-
getInstalledFile
public FileAction getInstalledFile()
The installed file to open.- See Also:
setUseInstalledFile(boolean)
-
setInstalledFile
public void setInstalledFile(FileAction file)
The installed file to open. This option is only available at post-install phase.- See Also:
setUseInstalledFile(boolean)
-
getURL
public java.lang.String getURL()
The URL to open.
-
setURL
public void setURL(java.lang.String url)
Define the URL to open.
-
getUseInstalledFile
public boolean getUseInstalledFile()
Whether to open an installed file to open.
-
setUseInstalledFile
public void setUseInstalledFile(boolean useTarget)
Whether to open an installed file to open. This option is only available at post-install phase.
-
-