Class NameserversParameter

java.lang.Object
google.registry.tools.params.ParameterConverterValidator<Set<String>>
google.registry.tools.params.NameserversParameter
All Implemented Interfaces:
com.beust.jcommander.IParameterValidator, com.beust.jcommander.IStringConverter<Set<String>>

public final class NameserversParameter extends ParameterConverterValidator<Set<String>>
Nameservers CLI parameter converter/validator.

This accepts a String containing a comma-delimited list of nameservers. Square bracket notation can be used to expand multiple nameservers, e.g. "ns[1-2].googledomains.com" will be expanded to "ns1.googledomains.com,ns2.googledomains.com".