|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindtree.techworks.insight.releng.mvn.nsis.model.Functions
public class Functions
Contains information about init functions for the installer and the uninstaller.
Constructor Summary | |
---|---|
Functions()
|
Method Summary | |
---|---|
FunctionDefinition |
getInstallAppRunCheckFn()
Get user defined function to check if the application is running when the installer starts. |
java.lang.String |
getMultiInstallerInstanceMessage()
Get the message to display when more than one instance of the installer is running. |
java.lang.String |
getPrevVerPresentPrompt()
Get the prompt to the user when a previous version of the application is found. |
java.lang.String |
getPrevVerUninstallAbortMsg()
Get message displayed when the uninstall of the previous version is aborted by the user. |
java.lang.String |
getPrevVerUninstallFailMsg()
Get message displayed when the uninstall of the previous version fails. |
FunctionDefinition |
getUninstallAppRunCheckFn()
Get user defined function to check if the application is running when the uninstaller starts. |
java.lang.String |
getUninstallConfirmPrompt()
Get the prompt displayed to the user when the uninstaller is invoked. |
java.lang.String |
getUninstallSuccessMsg()
Get message displayed after successfully uninstalling the application. |
boolean |
isUninstallPrevVer()
Get if set to true, the installer will try to identify and uninstall any previous version of the application. |
boolean |
isUseMutexForInstaller()
Get indicates if a mutex is to be used to ensure a single instance of the installer. |
void |
setInstallAppRunCheckFn(FunctionDefinition installAppRunCheckFn)
Set user defined function to check if the application is running when the installer starts. |
void |
setMultiInstallerInstanceMessage(java.lang.String multiInstallerInstanceMessage)
Set the message to display when more than one instance of the installer is running. |
void |
setPrevVerPresentPrompt(java.lang.String prevVerPresentPrompt)
Set the prompt to the user when a previous version of the application is found. |
void |
setPrevVerUninstallAbortMsg(java.lang.String prevVerUninstallAbortMsg)
Set message displayed when the uninstall of the previous version is aborted by the user. |
void |
setPrevVerUninstallFailMsg(java.lang.String prevVerUninstallFailMsg)
Set message displayed when the uninstall of the previous version fails. |
void |
setUninstallAppRunCheckFn(FunctionDefinition uninstallAppRunCheckFn)
Set user defined function to check if the application is running when the uninstaller starts. |
void |
setUninstallConfirmPrompt(java.lang.String uninstallConfirmPrompt)
Set the prompt displayed to the user when the uninstaller is invoked. |
void |
setUninstallPrevVer(boolean uninstallPrevVer)
Set if set to true, the installer will try to identify and uninstall any previous version of the application. |
void |
setUninstallSuccessMsg(java.lang.String uninstallSuccessMsg)
Set message displayed after successfully uninstalling the application. |
void |
setUseMutexForInstaller(boolean useMutexForInstaller)
Set indicates if a mutex is to be used to ensure a single instance of the installer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Functions()
Method Detail |
---|
public FunctionDefinition getInstallAppRunCheckFn()
public java.lang.String getMultiInstallerInstanceMessage()
public java.lang.String getPrevVerPresentPrompt()
public java.lang.String getPrevVerUninstallAbortMsg()
public java.lang.String getPrevVerUninstallFailMsg()
public FunctionDefinition getUninstallAppRunCheckFn()
public java.lang.String getUninstallConfirmPrompt()
public java.lang.String getUninstallSuccessMsg()
public boolean isUninstallPrevVer()
public boolean isUseMutexForInstaller()
public void setInstallAppRunCheckFn(FunctionDefinition installAppRunCheckFn)
installAppRunCheckFn
- public void setMultiInstallerInstanceMessage(java.lang.String multiInstallerInstanceMessage)
multiInstallerInstanceMessage
- public void setPrevVerPresentPrompt(java.lang.String prevVerPresentPrompt)
prevVerPresentPrompt
- public void setPrevVerUninstallAbortMsg(java.lang.String prevVerUninstallAbortMsg)
prevVerUninstallAbortMsg
- public void setPrevVerUninstallFailMsg(java.lang.String prevVerUninstallFailMsg)
prevVerUninstallFailMsg
- public void setUninstallAppRunCheckFn(FunctionDefinition uninstallAppRunCheckFn)
uninstallAppRunCheckFn
- public void setUninstallConfirmPrompt(java.lang.String uninstallConfirmPrompt)
uninstallConfirmPrompt
- public void setUninstallPrevVer(boolean uninstallPrevVer)
uninstallPrevVer
- public void setUninstallSuccessMsg(java.lang.String uninstallSuccessMsg)
uninstallSuccessMsg
- public void setUseMutexForInstaller(boolean useMutexForInstaller)
useMutexForInstaller
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |