Class DnsNameValidator

    • Constructor Detail

      • DnsNameValidator

        @Inject
        public DnsNameValidator​(@Named("jclouds.dns_name_length_min")
                                int min,
                                @Named("jclouds.dns_name_length_max")
                                int max)
    • Method Detail

      • validate

        public void validate​(String name)
        Description copied from class: Validator
        Validates the parameter
        Specified by:
        validate in class Validator<String>
        Parameters:
        name - parameter to be validated
      • getAcceptableRange

        protected com.google.common.base.CharMatcher getAcceptableRange()