Enum BootProtocol

    • Enum Constant Detail

      • AUTOCONF

        public static final BootProtocol AUTOCONF
        Stateless address auto-configuration. The mechanism is defined by http://tools.ietf.org/html/rfc4862[RFC 4862]. Please refer to https://en.wikipedia.org/wiki/IPv6_address#Stateless_address_autoconfiguration[this wikipedia article] for more information. NOTE: The value is valid for IPv6 addresses only.
      • DHCP

        public static final BootProtocol DHCP
        Dynamic host configuration protocol. Please refer to https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol[this wikipedia article] for more information.
      • NONE

        public static final BootProtocol NONE
        No address configuration.
      • POLY_DHCP_AUTOCONF

        public static final BootProtocol POLY_DHCP_AUTOCONF
        DHCP alongside Stateless address auto-configuration (SLAAC). The SLAAC mechanism is defined by http://tools.ietf.org/html/rfc4862[RFC 4862]. Please refer to the https://en.wikipedia.org/wiki/IPv6_address#Stateless_address_autoconfiguration[Stateless address auto-configuration] article and the https://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol[DHCP] article for more information. NOTE: The value is valid for IPv6 addresses only.
      • STATIC

        public static final BootProtocol STATIC
        Statically-defined address, mask and gateway.
    • Method Detail

      • values

        public static BootProtocol[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BootProtocol c : BootProtocol.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static BootProtocol valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()