Class OSHostDestinationFolder

  • All Implemented Interfaces:
    Referenceable

    public final class OSHostDestinationFolder
    extends InstallableObject
    Groups the files and actions that target a common destination folder on the target system.
    • Constructor Detail

      • OSHostDestinationFolder

        public OSHostDestinationFolder()
    • Method Detail

      • setDestinationFolder

        public void setDestinationFolder​(DestinationFolder magicFolder)
        The location in the target the system where the files and actions should be installed.

        The destination folder can be any of the magic folders available in the MagicFolder enum, the InstallFolder found under the Project object or the ShortcutFolder also found under the Project object.

        See Also:
        MagicFolder, Project.getInstallFolder(), Project.getShortcutFolder()
      • getDestinationFolder

        public DestinationFolder getDestinationFolder()
        The location in the target the system where the files and actions should be installed.

        The destination folder can be any of the magic folders available in the MagicFolder enum, the InstallFolder found under the Project object or the ShortcutFolder also found under the Project object.

        See Also:
        MagicFolder, Project.getInstallFolder(), Project.getShortcutFolder()
      • getOverrideUnixPermissions

        public boolean getOverrideUnixPermissions()
        Whether or not the override the default file permissions on Unix. Default to false.
      • setOverrideUnixPermissions

        public void setOverrideUnixPermissions​(boolean OverrideUnixPermissions)
        Whether or not the override the default file permissions on Unix. Default to false.
      • getUnixPermissions

        public java.lang.String getUnixPermissions()
        The default permissions for the files installed into the specified destination folder on the Unix platform.
      • setUnixPermissions

        public void setUnixPermissions​(java.lang.String UnixPermissions)
        The default permissions for the files installed into the specified destination folder on the Unix platform.
      • getChildren

        public java.util.Vector<OSHostable> getChildren()
        The actions that should be installed into the destination folder specified by the destinationFolder property.

        The actions assigned to a OSHostDestinationFolder should be assigned to a component, otherwise they will not be installed.