Class HardwareBinder.Ignore

    • Constructor Detail

      • Ignore

        public Ignore()
    • Method Detail

      • hostName

        public HardwareBinder hostName()
        When calculating the machine UUID the host name is also taken into account by default. If you want the method to ignore the machine name then call this method before calling any UUID calculation method.
        Returns:
        the hardware binder object so method calls can be chained
      • network

        public HardwareBinder network()
        When calculating the uuid of a machine the network interfaces are enumerated and their parameters are taken into account. The names and the hardware addresses are used.

        If you want to ignore the network when generating the uuid then call this method before any uuid calculating methods.

        Returns:
        the hardware binder object so method calls can be chained
      • architecture

        public HardwareBinder architecture()
        The UUID generation uses the architecture string as returned by System.getProperty("os.arch"). In some rare cases you want to have a UUID that is independent of the architecture.
        Returns:
        the hardware binder object so method calls can be chained