Class CreateLaunchAnywhere
- 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.FileAction
-
- com.zerog.ia.auto.project.actions.CreateLaunchAnywhere
-
- All Implemented Interfaces:
DBHostable,GeneralAction,JEEHostable,OSHostable,Referenceable
- Direct Known Subclasses:
CreateUninstaller
public class CreateLaunchAnywhere extends FileAction implements GeneralAction
Creates a Launch Anywhere that will be responsible for launching the installed Java application. The sourcePath, sourceName and fileOverwriteBehavior properties are for internal use only and should not be changed.
-
-
Constructor Summary
Constructors Constructor Description CreateLaunchAnywhere()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDestinationName()The name of the installed file in the target machine.FileIcongetExecutableIcon()The icon that will be used for the LaunchAnywhere executable.booleangetGuiLauncher()Whether the LaunchAnywhere supports GUI (Graphical User Interface).java.lang.StringgetLauncherId()get Unique ID of the LaunchAnywhere executableLaunchAnywhereVmBehaviorgetLauncherVMBehavior()Behavior of LaunchAnywhere settings.java.lang.StringgetMainClass()The main class for the LaunchAnywhere to run.java.util.Vector<LAXProperty>getProperties()The properties that will be written to the LAX file.WinVistaExecLevelgetWinVistaExecLevel()The Windows Vista execution level.voidsetDestinationName(java.lang.String name)The name of the installed file in the target machine.voidsetExecutableIcon(FileIcon executableIcon)The icon that will be used for the LaunchAnywhere executable.voidsetGuiLauncher(boolean gui)Whether the LaunchAnywhere supports GUI (Graphical User Interface).voidsetLauncherId(java.lang.String launcherId)set Unique Id for the LaunchAnywhere executable.voidsetLauncherVMBehavior(LaunchAnywhereVmBehavior behavior)Behavior of LaunchAnywhere settings.voidsetMainClass(java.lang.String mainClass)The main class for the LaunchAnywhere to run.voidsetWinVistaExecLevel(WinVistaExecLevel level)The Windows Vista execution level.-
Methods inherited from class com.zerog.ia.auto.project.actions.FileAction
getFileOverwriteBehavior, getOverrideUnixPermissions, getShouldUninstall, getSourceFile, getUnixPermissions, setFileOverwriteBehavior, setOverrideUnixPermissions, setShouldUninstall, setSourceFile, setUnixPermissions
-
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
-
getProperties
public java.util.Vector<LAXProperty> getProperties()
The properties that will be written to the LAX file.
-
setExecutableIcon
public void setExecutableIcon(FileIcon executableIcon)
The icon that will be used for the LaunchAnywhere executable.
-
getExecutableIcon
public FileIcon getExecutableIcon()
The icon that will be used for the LaunchAnywhere executable.
-
getLauncherId
public java.lang.String getLauncherId()
get Unique ID of the LaunchAnywhere executable
-
setLauncherId
public void setLauncherId(java.lang.String launcherId)
set Unique Id for the LaunchAnywhere executable.
-
getMainClass
public java.lang.String getMainClass()
The main class for the LaunchAnywhere to run.
-
setMainClass
public void setMainClass(java.lang.String mainClass)
The main class for the LaunchAnywhere to run.
-
setDestinationName
public void setDestinationName(java.lang.String name)
The name of the installed file in the target machine.- Overrides:
setDestinationNamein classFileAction- Parameters:
name- The name of the file in the target machine.
-
getDestinationName
public java.lang.String getDestinationName()
The name of the installed file in the target machine.- Overrides:
getDestinationNamein classFileAction- Returns:
- The name of the file in the target machine.
-
getGuiLauncher
public boolean getGuiLauncher()
Whether the LaunchAnywhere supports GUI (Graphical User Interface).
-
setGuiLauncher
public void setGuiLauncher(boolean gui)
Whether the LaunchAnywhere supports GUI (Graphical User Interface).
-
getWinVistaExecLevel
public WinVistaExecLevel getWinVistaExecLevel()
The Windows Vista execution level.
-
setWinVistaExecLevel
public void setWinVistaExecLevel(WinVistaExecLevel level)
The Windows Vista execution level.
-
setLauncherVMBehavior
public void setLauncherVMBehavior(LaunchAnywhereVmBehavior behavior)
Behavior of LaunchAnywhere settings.
-
getLauncherVMBehavior
public LaunchAnywhereVmBehavior getLauncherVMBehavior()
Behavior of LaunchAnywhere settings.
-
-