@Test void equals_names() throws Exception { ValidatorConfiguration conf = new ValidatorConfiguration("test"); ValidatorConfiguration conf2 = new ValidatorConfiguration("test2"); assertFalse(conf.equals(conf2)); }
@Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ValidatorConfiguration)) return false; ValidatorConfiguration that = (ValidatorConfiguration)o; return Objects.equals(configurationName, that.configurationName) && Objects.equals(properties, that.properties) && Objects.equals(level, that.level); }
ValidatorConfiguration implements Serializable, Cloneable { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ValidatorConfiguration)) return false; ValidatorConfiguration that = (ValidatorConfiguration)o; return Objects.equals(configurationName, that.configurationName) && Objects.equals(properties, that.properties) && Objects.equals(level, that.level); } }
ValidatorConfiguration implements Serializable, Cloneable { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ValidatorConfiguration)) return false; ValidatorConfiguration that = (ValidatorConfiguration)o; return Objects.equals(configurationName, that.configurationName) && Objects.equals(properties, that.properties) && Objects.equals(level, that.level); } ValidatorConfiguration(String name);  ValidatorConfiguration(String name, Map<String, String> properties);  ValidatorConfiguration(String name, Map<String, String> properties, LEVEL level); }
ValidatorConfiguration implements Serializable, Cloneable { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ValidatorConfiguration)) return false; ValidatorConfiguration that = (ValidatorConfiguration)o; return Objects.equals(configurationName, that.configurationName) && Objects.equals(properties, that.properties) && Objects.equals(level, that.level); } ValidatorConfiguration(String name);  ValidatorConfiguration(String name, Map<String, String> properties);  ValidatorConfiguration(String name, Map<String, String> properties, LEVEL level); Map<String, String> getProperties(); String getProperty(String name); String getConfigurationName(); LEVEL getLevel(); ValidatorConfiguration setLevel(String level); ValidatorConfiguration setLevel(LEVEL level); String getValidatorClassName(); ValidatorConfiguration addProperty(String name, Object value); @Deprecated ValidatorConfiguration addAttribute(String name, Object value); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override ValidatorConfiguration clone(); }
ValidatorConfiguration implements Serializable, Cloneable { @Override public boolean equals(Object o) { if (this == o) return true; if (!(o instanceof ValidatorConfiguration)) return false; ValidatorConfiguration that = (ValidatorConfiguration)o; return Objects.equals(configurationName, that.configurationName) && Objects.equals(properties, that.properties) && Objects.equals(level, that.level); } ValidatorConfiguration(String name);  ValidatorConfiguration(String name, Map<String, String> properties);  ValidatorConfiguration(String name, Map<String, String> properties, LEVEL level); Map<String, String> getProperties(); String getProperty(String name); String getConfigurationName(); LEVEL getLevel(); ValidatorConfiguration setLevel(String level); ValidatorConfiguration setLevel(LEVEL level); String getValidatorClassName(); ValidatorConfiguration addProperty(String name, Object value); @Deprecated ValidatorConfiguration addAttribute(String name, Object value); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); @Override ValidatorConfiguration clone();  }