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.StringgetDestinationName()The destination where to install the stored files.java.lang.StringgetDirectoryName()The source directory name.FileOverwriteBehaviorgetFileOverwriteBehavior()The behavior that should be taken when a file needs to be overwritten.booleangetInstallFolderAndContent()Whether to install the folder and its contents, rather than only the contents.booleangetOverrideUnixPermissions()Whether to override UNIX permissions.FilterPatternMatchergetPatternMatcher()TheFilterPatternMatcherresponsible for evaluating the files.booleangetRecursivelyUninstall()Whether to uninstall all the files recursively.booleangetShouldUninstall()Whether the files should be uninstalled.java.lang.StringgetSourceDirectory()The source directory that will be bundled in the installed.java.lang.StringgetUnixPermissions()The UNIX permissions to override, ifgetOverrideUnixPermissions()returns true.voidsetDestinationName(java.lang.String DestinationName)The destination where to install the stored files.voidsetDirectoryName(java.lang.String DirectoryName)The source directory name.voidsetFileOverwriteBehavior(FileOverwriteBehavior FileOverwriteBehavior)The behavior that should be taken when a file needs to be overwritten.voidsetInstallFolderAndContent(boolean InstallFolderAndContent)Whether to install the folder and its contents, rather than only the contents.voidsetOverrideUnixPermissions(boolean OverrideUnixPermissions)Whether to override UNIX permissions.voidsetPatternMatcher(FilterPatternMatcher PatternMatcher)TheFilterPatternMatcherresponsible for evaluating the files.voidsetRecursivelyUninstall(boolean recursivelyUninstall)Whether to uninstall all the files recursively.voidsetShouldUninstall(boolean ShouldUninstall)Whether the files should be uninstalled.voidsetSourceDirectory(java.lang.String path)The source directory that will be bundled in the installed.voidsetUnixPermissions(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()
TheFilterPatternMatcherresponsible for evaluating the files.
-
setPatternMatcher
public void setPatternMatcher(FilterPatternMatcher PatternMatcher)
TheFilterPatternMatcherresponsible 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.
-
-