Class InstallDirectory
- 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.InstallDirectory
-
- All Implemented Interfaces:
OSHostable,Referenceable
public final class InstallDirectory extends FileAction
Adds the given directory to the installer project to be later installed by the installer.
It is similar to adding a directory using the "Add File..." or adding a Create Folder action button via InstallAnywhere IDE.
It also allows the definition of some file attributes, like unix permissions and destination name.
-
-
Constructor Summary
Constructors Constructor Description InstallDirectory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Vector<OSHostable>getChildren()The children files to be installed.booleangetRemoveRecursively()Whether to recursively delete all contents of this folder during uninstall.voidsetRemoveRecursively(boolean removeRecursively)Whether to recursively delete all contents of this folder during uninstall.-
Methods inherited from class com.zerog.ia.auto.project.actions.FileAction
getDestinationName, getFileOverwriteBehavior, getOverrideUnixPermissions, getShouldUninstall, getSourceFile, getUnixPermissions, setDestinationName, 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
-
getRemoveRecursively
public boolean getRemoveRecursively()
Whether to recursively delete all contents of this folder during uninstall.
-
setRemoveRecursively
public void setRemoveRecursively(boolean removeRecursively)
Whether to recursively delete all contents of this folder during uninstall.
-
getChildren
public java.util.Vector<OSHostable> getChildren()
The children files to be installed.
-
-