public class DnsNameValidator extends Validator<String>
InputParamValidator,
Validator| Constructor and Description |
|---|
DnsNameValidator(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
protected IllegalArgumentException |
exception(String vAppName,
String reason) |
protected com.google.common.base.CharMatcher |
getAcceptableRange() |
void |
validate(String name)
Validates the parameter
|
@Inject
public DnsNameValidator(@Named(value="jclouds.dns_name_length_min")
int min,
@Named(value="jclouds.dns_name_length_max")
int max)
public void validate(String name)
Validatorprotected com.google.common.base.CharMatcher getAcceptableRange()
protected IllegalArgumentException exception(String vAppName, String reason)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.