Class SpeedFolder
- 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.SpeedFolder
-
- All Implemented Interfaces:
OSHostable
,Referenceable
public final class SpeedFolder extends Action implements OSHostable
Picks up files dynamically, at build-time, from a folder. All files are installed in one fast operation.
SpeedFolders are especially useful for large installations with many files or builds that occur automatically.
-
-
Constructor Summary
Constructors Constructor Description SpeedFolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDestinationName()
The destination where to install the stored files.java.lang.String
getDirectoryName()
The source directory name.FileOverwriteBehavior
getFileOverwriteBehavior()
The behavior that should be taken when a file needs to be overwritten.boolean
getInstallFolderAndContent()
Whether to install the folder and its contents, rather than only the contents.boolean
getOverrideUnixPermissions()
Whether to override UNIX permissions.FilterPatternMatcher
getPatternMatcher()
TheFilterPatternMatcher
responsible for evaluating the files.boolean
getRecursivelyUninstall()
Whether to uninstall all the files recursively.boolean
getShouldUninstall()
Whether the files should be uninstalled.java.lang.String
getSourceDirectory()
The source directory that will be bundled in the installed.java.lang.String
getUnixPermissions()
The UNIX permissions to override, ifgetOverrideUnixPermissions()
returns true.void
setDestinationName(java.lang.String DestinationName)
The destination where to install the stored files.void
setDirectoryName(java.lang.String DirectoryName)
The source directory name.void
setFileOverwriteBehavior(FileOverwriteBehavior FileOverwriteBehavior)
The behavior that should be taken when a file needs to be overwritten.void
setInstallFolderAndContent(boolean InstallFolderAndContent)
Whether to install the folder and its contents, rather than only the contents.void
setOverrideUnixPermissions(boolean OverrideUnixPermissions)
Whether to override UNIX permissions.void
setPatternMatcher(FilterPatternMatcher PatternMatcher)
TheFilterPatternMatcher
responsible for evaluating the files.void
setRecursivelyUninstall(boolean recursivelyUninstall)
Whether to uninstall all the files recursively.void
setShouldUninstall(boolean ShouldUninstall)
Whether the files should be uninstalled.void
setSourceDirectory(java.lang.String path)
The source directory that will be bundled in the installed.void
setUnixPermissions(java.lang.String UnixPermissions)
The UNIX permissions to override, ifgetOverrideUnixPermissions()
returns true.-
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
-
getRecursivelyUninstall
public boolean getRecursivelyUninstall()
Whether to uninstall all the files recursively.
-
setRecursivelyUninstall
public void setRecursivelyUninstall(boolean recursivelyUninstall)
Whether to uninstall all the files recursively.
-
getUnixPermissions
public java.lang.String getUnixPermissions()
The UNIX permissions to override, ifgetOverrideUnixPermissions()
returns true.
-
setUnixPermissions
public void setUnixPermissions(java.lang.String UnixPermissions)
The UNIX permissions to override, ifgetOverrideUnixPermissions()
returns true.
-
getOverrideUnixPermissions
public boolean getOverrideUnixPermissions()
Whether to override UNIX permissions.
-
setOverrideUnixPermissions
public void setOverrideUnixPermissions(boolean OverrideUnixPermissions)
Whether to override UNIX permissions.
-
getShouldUninstall
public boolean getShouldUninstall()
Whether the files should be uninstalled.
-
setShouldUninstall
public void setShouldUninstall(boolean ShouldUninstall)
Whether the files should be uninstalled.
-
getDestinationName
public java.lang.String getDestinationName()
The destination where to install the stored files.
-
setDestinationName
public void setDestinationName(java.lang.String DestinationName)
The destination where to install the stored files.
-
getDirectoryName
public java.lang.String getDirectoryName()
The source directory name.
-
setDirectoryName
public void setDirectoryName(java.lang.String DirectoryName)
The source directory name.
-
getFileOverwriteBehavior
public FileOverwriteBehavior getFileOverwriteBehavior()
The behavior that should be taken when a file needs to be overwritten.
-
setFileOverwriteBehavior
public void setFileOverwriteBehavior(FileOverwriteBehavior FileOverwriteBehavior)
The behavior that should be taken when a file needs to be overwritten.
-
getInstallFolderAndContent
public boolean getInstallFolderAndContent()
Whether to install the folder and its contents, rather than only the contents.
-
setInstallFolderAndContent
public void setInstallFolderAndContent(boolean InstallFolderAndContent)
Whether to install the folder and its contents, rather than only the contents.
-
getPatternMatcher
public FilterPatternMatcher getPatternMatcher()
TheFilterPatternMatcher
responsible for evaluating the files.
-
setPatternMatcher
public void setPatternMatcher(FilterPatternMatcher PatternMatcher)
TheFilterPatternMatcher
responsible for evaluating the files.
-
setSourceDirectory
public void setSourceDirectory(java.lang.String path)
The source directory that will be bundled in the installed.
-
getSourceDirectory
public java.lang.String getSourceDirectory()
The source directory that will be bundled in the installed.
-
-