List of usage examples for org.springframework.ide.eclipse.boot.dash.cloudfoundry CloudFoundryRunTargetType getPersistentProperties
@Override
public PropertyStoreApi getPersistentProperties()
From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryBootDashModelMockingTest.java
@Test public void targetTypeProperties() throws Exception { {/* w w w . j a v a 2s .co m*/ CloudFoundryRunTargetType cfTargetType = harness.getCfTargetType(); PropertyStoreApi props = cfTargetType.getPersistentProperties(); props.put("testkey", "testvalue"); assertEquals("testvalue", props.get("testkey")); } harness.reload(); { CloudFoundryRunTargetType cfTargetType = harness.getCfTargetType(); PropertyStoreApi props = cfTargetType.getPersistentProperties(); assertEquals("testvalue", props.get("testkey")); } }