Class InstallFile
- 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.InstallFile
-
- All Implemented Interfaces:
OSHostable
,Referenceable
- Direct Known Subclasses:
InstallZipFile
public class InstallFile extends FileAction
Adds the given source file to the installer project to be later installed by the installer.
It is similar to adding a file using the "Add File..." button via InstallAnywhere IDE.
It also allows the definition of some file attributes, like unix permissions, destination name and behavior when the file already exists in the target machine.
-
-
Constructor Summary
Constructors Constructor Description InstallFile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getFileSize()
The soure file size measured in bytes.void
setFileSize(long size)
The source file size measured in bytes.-
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
-
-