Interface Ip4GeneratorSpec

All Superinterfaces:
GeneratorSpec<String>
All Known Subinterfaces:
Ip4Spec

public interface Ip4GeneratorSpec extends GeneratorSpec<String>
Generator spec for IPv4.
Since:
2.12.0
  • Method Details

    • fromCidr

      GeneratorSpec<String> fromCidr(String cidr)
      Generates IPv4 address from CIDR notation, for example: fromCidr("192.168.1.0/24").
      Parameters:
      cidr - CIDR notation from which an IP address will be generated
      Returns:
      generator spec
      Since:
      2.12.0