@Test public void getProperties() throws Exception { SimplePropertySource ps1 = SimplePropertySource.newBuilder() .withUuidName() .withProperty("a", "b") .build(); assertThat(ps1.getProperties()).isNotNull(); assertThat(ps1.getProperties()).hasSize(1); assertThat(ps1.getProperties().get("a").getValue()).isEqualTo("b"); }
@Override public Map<String, PropertyValue> getProperties() { return this.properties; }
SimplePropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { return this.properties; } }
SimplePropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { return this.properties; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); }
SimplePropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { return this.properties; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); static Builder newBuilder(); @Override Map<String, PropertyValue> getProperties(); @Override ChangeSupport getChangeSupport(); }
SimplePropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { return this.properties; } SimplePropertySource(File propertiesLocation);  SimplePropertySource(URL propertiesLocation);  SimplePropertySource(String name, Map<String, String> properties, int defaultOrdinal);  SimplePropertySource(String name, Map<String, String> properties);  SimplePropertySource(String name, URL propertiesLocation); private  SimplePropertySource(Builder builder); static Builder newBuilder(); @Override Map<String, PropertyValue> getProperties(); @Override ChangeSupport getChangeSupport();  }