Class ExecuteCustomCode
- 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.CustomCode
-
- com.zerog.ia.auto.project.actions.ExecuteCustomCode
-
- All Implemented Interfaces:
DBHostable,GeneralAction,JEEHostable,OSHostable,Referenceable
- Direct Known Subclasses:
ExecuteCustomCodeUninstall,PlugInAction
public class ExecuteCustomCode extends CustomCode implements GeneralAction
Executes a Custom Code on the target system. Custom Code allows developers to extend the functionality of InstallAnywhere. InstallAnywhere's API is purely Java based and allows developers to do nearly anything that is possible in Java. Execute Custom Code action represents the non-interactive interface for this API.
-
-
Constructor Summary
Constructors Constructor Description ExecuteCustomCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassFullName()The fully qualified class name of the class that is called when the custom code is executed.java.lang.StringgetDialogLabel()The message to be displayed in the indeterminate dialog.booleangetRunsAfterFilesDeleted()Returns whether the uninstall() method for the custom code should run after or before files/folders are uninstalled.booleangetShowIndeterminateDialog()Whether to show an indeterminate dialog during the execution of the custom code and to show the message you define calling setDialogLabel (Default: Executing Custom Code...).booleangetShowPleaseWaitPanel()Whether to show the "Please wait..." panel while installing the action.java.lang.StringgetUniqueName()voidsetClassFullName(java.lang.String classFullName)The fully qualified class name of the class that is called when the custom code is executed.voidsetDialogLabel(java.lang.String label)The message to be displayed in the indeterminate dialog.voidsetRunsAfterFilesDeleted(boolean runsAfterFilesDeleted)Sets the uninstall() method for the custom code to run after files or folders are uninstalled.voidsetShowIndeterminateDialog(boolean show)Whether to show an indeterminate dialog during the execution of the custom code and to show the message you define calling setDialogLabel (Default: Executing Custom Code...).voidsetShowPleaseWaitPanel(boolean show)Whether to show the "Please wait..." panel while installing the action.voidsetUniqueName(java.lang.String UniqueName)-
Methods inherited from class com.zerog.ia.auto.project.actions.CustomCode
getArchivesSigned, getDependencies, getSourceFile, setArchivesSigned, setDependencies, setSourceFile
-
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 the "Please wait..." panel while installing the action.
-
getShowPleaseWaitPanel
public boolean getShowPleaseWaitPanel()
Whether to show the "Please wait..." panel while installing the action.
-
setShowIndeterminateDialog
public void setShowIndeterminateDialog(boolean show)
Whether to show an indeterminate dialog during the execution of the custom code and to show the message you define calling setDialogLabel (Default: Executing Custom Code...).
-
getShowIndeterminateDialog
public boolean getShowIndeterminateDialog()
Whether to show an indeterminate dialog during the execution of the custom code and to show the message you define calling setDialogLabel (Default: Executing Custom Code...).
-
setDialogLabel
public void setDialogLabel(java.lang.String label)
The message to be displayed in the indeterminate dialog. (default: Executing Custom Code...)- See Also:
setShowIndeterminateDialog(boolean)
-
getDialogLabel
public java.lang.String getDialogLabel()
The message to be displayed in the indeterminate dialog.- See Also:
setShowIndeterminateDialog(boolean)
-
getClassFullName
public java.lang.String getClassFullName()
The fully qualified class name of the class that is called when the custom code is executed. (for example, com.acme.MyAction)
-
setClassFullName
public void setClassFullName(java.lang.String classFullName)
The fully qualified class name of the class that is called when the custom code is executed. (for example, com.acme.MyAction)
-
setRunsAfterFilesDeleted
public void setRunsAfterFilesDeleted(boolean runsAfterFilesDeleted)
Sets the uninstall() method for the custom code to run after files or folders are uninstalled. If setting this property to false the code will run before files or folders are uninstalled.
-
getRunsAfterFilesDeleted
public boolean getRunsAfterFilesDeleted()
Returns whether the uninstall() method for the custom code should run after or before files/folders are uninstalled.
-
getUniqueName
public java.lang.String getUniqueName()
-
setUniqueName
public void setUniqueName(java.lang.String UniqueName)
-
-