Class UnixPlatform


  • public final class UnixPlatform
    extends java.lang.Object
    The Unix platform specific settings, like VM search settings and file permissions.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getDisableUnixPermissions()
      Whether or not to disable the default Unix file permissions setting.
      RPMSpecification getRPMSpec()
      The settings of the virtual package used to make entries in the RPM database (Linux only).
      java.lang.String getUnixPermissions()
      The default Unix file permissions.
      java.util.Vector<java.lang.String> getUnixVmSearchExePatterns()
      The Vector of Java executable patterns the installer should use when trying to identify a VM on the Unix platform.
      java.util.Vector<JVMSearchPath> getUnixVmSearchPaths()
      The parameters for the VM search performed by the installer when searching for a valid VM on the Unix platform.
      void setDisableUnixPermissions​(boolean disable)
      Whether or not to disable the default Unix file permissions setting.
      void setRPMSpec​(RPMSpecification rpmSpec)
      The settings of the virtual package used to make entries in the RPM database (Linux only).
      void setUnixPermissions​(java.lang.String permissions)
      The default Unix file permissions.
      void setUnixVmSearchExePatterns​(java.util.Vector<java.lang.String> unixVmSearchExePatterns)
      The Vector of Java executable patterns the installer should use when trying to identify a VM on the Unix platform.
      void setUnixVmSearchPaths​(java.util.Vector<JVMSearchPath> unixVmSearchPaths)
      The parameters for the VM search performed by the installer when searching for a valid VM on the Unix platform.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUnixPermissions

        public java.lang.String getUnixPermissions()
        The default Unix file permissions. Example: 755 (default). Represents the default permissions for all files the installer deploys.
        See Also:
        setDisableUnixPermissions(boolean)
      • setDisableUnixPermissions

        public void setDisableUnixPermissions​(boolean disable)
        Whether or not to disable the default Unix file permissions setting. Default to false.
        See Also:
        setUnixPermissions(String)
      • getDisableUnixPermissions

        public boolean getDisableUnixPermissions()
        Whether or not to disable the default Unix file permissions setting. Default to false.
        See Also:
        getUnixPermissions()
      • setUnixPermissions

        public void setUnixPermissions​(java.lang.String permissions)
        The default Unix file permissions. Example: 755 (default). Represents the default permissions for all files the installer deploys.
      • setRPMSpec

        public void setRPMSpec​(RPMSpecification rpmSpec)
        The settings of the virtual package used to make entries in the RPM database (Linux only).
      • getRPMSpec

        public RPMSpecification getRPMSpec()
        The settings of the virtual package used to make entries in the RPM database (Linux only).
      • getUnixVmSearchPaths

        public java.util.Vector<JVMSearchPath> getUnixVmSearchPaths()
        The parameters for the VM search performed by the installer when searching for a valid VM on the Unix platform.
      • setUnixVmSearchPaths

        public void setUnixVmSearchPaths​(java.util.Vector<JVMSearchPath> unixVmSearchPaths)
        The parameters for the VM search performed by the installer when searching for a valid VM on the Unix platform.
      • getUnixVmSearchExePatterns

        public java.util.Vector<java.lang.String> getUnixVmSearchExePatterns()
        The Vector of Java executable patterns the installer should use when trying to identify a VM on the Unix platform.

        The default Unix Java executable patterns are "java", "bin/java" and "jre/bin/java".
        See Also:
        getUnixVmSearchPaths()
      • setUnixVmSearchExePatterns

        public void setUnixVmSearchExePatterns​(java.util.Vector<java.lang.String> unixVmSearchExePatterns)
        The Vector of Java executable patterns the installer should use when trying to identify a VM on the Unix platform.

        The default Unix Java executable patterns are "java", "bin/java" and "jre/bin/java".
        See Also:
        setUnixVmSearchPaths(java.util.Vector)