Class FileAction

    • Constructor Detail

      • FileAction

        public FileAction()
    • Method Detail

      • setDestinationName

        public void setDestinationName​(java.lang.String destinationName)
        The name of the file in the target machine when the file get installed.
        Parameters:
        destinationName - The name of the file in the target machine.
      • getDestinationName

        public java.lang.String getDestinationName()
        The name of the file in the target machine when the file get installed.
        Returns:
        The name of the file in the target machine.
      • getOverrideUnixPermissions

        public boolean getOverrideUnixPermissions()
        Whether the file unix permissions should be overwrited or not.
      • setOverrideUnixPermissions

        public void setOverrideUnixPermissions​(boolean override)
        Whether the file unix permissions should be overwrited or not.
      • getUnixPermissions

        public java.lang.String getUnixPermissions()
        The unix file permissions to set when installing this file.
      • setUnixPermissions

        public void setUnixPermissions​(java.lang.String permissions)
        The unix file permissions to set when installing this file.
      • setFileOverwriteBehavior

        public void setFileOverwriteBehavior​(FileOverwriteBehavior fileOverwriteBehavior)
        The behavior when the file already exists in the target machine.
      • getFileOverwriteBehavior

        public FileOverwriteBehavior getFileOverwriteBehavior()
        The behavior when the file already exists in the target machine.
      • getShouldUninstall

        public boolean getShouldUninstall()
        Whether the file should be uninstalled.
      • setShouldUninstall

        public void setShouldUninstall​(boolean ShouldUninstall)
        Whether the file should be uninstalled.
      • setSourceFile

        public void setSourceFile​(java.lang.String path)
        The path to the file to include in the installer.
      • getSourceFile

        public java.lang.String getSourceFile()
        The path to the file to include in the installer.