@Test public void testKnownPaths() { Validation v = new AtMostOnePathExistsValidation("hello", "world"); assertEquals(Sets.newHashSet("hello", "world"), v.getKnownPaths()); }
@Override public Set<String> getKnownPaths() { return paths; }
AtMostOnePathExistsValidation implements Validation { @Override public Set<String> getKnownPaths() { return paths; } }
AtMostOnePathExistsValidation implements Validation { @Override public Set<String> getKnownPaths() { return paths; } AtMostOnePathExistsValidation(String... paths);  AtMostOnePathExistsValidation(ConfigValueType type, String... paths); }
AtMostOnePathExistsValidation implements Validation { @Override public Set<String> getKnownPaths() { return paths; } AtMostOnePathExistsValidation(String... paths);  AtMostOnePathExistsValidation(ConfigValueType type, String... paths); @Override ValidationResult validate(Config config); @Override String toString(); @Override Set<String> getKnownPaths(); }
AtMostOnePathExistsValidation implements Validation { @Override public Set<String> getKnownPaths() { return paths; } AtMostOnePathExistsValidation(String... paths);  AtMostOnePathExistsValidation(ConfigValueType type, String... paths); @Override ValidationResult validate(Config config); @Override String toString(); @Override Set<String> getKnownPaths();  }