@Test void testValidation() { ServiceNameValidator serviceNameValidator = new ServiceNameValidator(NAMESPACE, false); assertFalse(serviceNameValidator.isValid(SERVICE_NAME, null)); }
@Override public boolean isValid(Object serviceName, final Map<String, Object> context) { return false; }
ServiceNameValidator implements ParameterValidator { @Override public boolean isValid(Object serviceName, final Map<String, Object> context) { return false; } }
ServiceNameValidator implements ParameterValidator { @Override public boolean isValid(Object serviceName, final Map<String, Object> context) { return false; } ServiceNameValidator(String namespace, boolean applyNamespace); }
ServiceNameValidator implements ParameterValidator { @Override public boolean isValid(Object serviceName, final Map<String, Object> context) { return false; } ServiceNameValidator(String namespace, boolean applyNamespace); @Override Class<?> getContainerType(); @Override String getParameterName(); @Override boolean isValid(Object serviceName, final Map<String, Object> context); @Override boolean canCorrect(); @Override Object attemptToCorrect(Object serviceName, final Map<String, Object> relatedParameters); @Override Set<String> getRelatedParameterNames(); }
ServiceNameValidator implements ParameterValidator { @Override public boolean isValid(Object serviceName, final Map<String, Object> context) { return false; } ServiceNameValidator(String namespace, boolean applyNamespace); @Override Class<?> getContainerType(); @Override String getParameterName(); @Override boolean isValid(Object serviceName, final Map<String, Object> context); @Override boolean canCorrect(); @Override Object attemptToCorrect(Object serviceName, final Map<String, Object> relatedParameters); @Override Set<String> getRelatedParameterNames();  }