@Test public void testGetProperties() throws Exception { checkWithSystemProperties(testPropertySource.getProperties()); System.setProperty("test", "myTestVal"); checkWithSystemProperties(testPropertySource.getProperties()); System.clearProperty("test"); }
@Override public Map<String, PropertyValue> getProperties() { if(isDisabled()){ return Collections.emptyMap(); } reload(); return cachedProperties.getProperties(); }
SystemPropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { if(isDisabled()){ return Collections.emptyMap(); } reload(); return cachedProperties.getProperties(); } }
SystemPropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { if(isDisabled()){ return Collections.emptyMap(); } reload(); return cachedProperties.getProperties(); } SystemPropertySource();  SystemPropertySource(int ordinal); }
SystemPropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { if(isDisabled()){ return Collections.emptyMap(); } reload(); return cachedProperties.getProperties(); } SystemPropertySource();  SystemPropertySource(int ordinal); @Override PropertyValue get(String key); void reload(); @Override Map<String, PropertyValue> getProperties(); String getVersion(); @Override ChangeSupport getChangeSupport(); }
SystemPropertySource extends BasePropertySource { @Override public Map<String, PropertyValue> getProperties() { if(isDisabled()){ return Collections.emptyMap(); } reload(); return cachedProperties.getProperties(); } SystemPropertySource();  SystemPropertySource(int ordinal); @Override PropertyValue get(String key); void reload(); @Override Map<String, PropertyValue> getProperties(); String getVersion(); @Override ChangeSupport getChangeSupport(); static final int DEFAULT_ORDINAL; }