List of usage examples for org.springframework.ide.eclipse.boot.dash.model BootDashElement getRunState
RunState getRunState();
From source file:org.springframework.ide.eclipse.boot.dash.test.CloudFoundryBootDashModelMockingTest.java
public static void waitForState(final BootDashElement element, final RunState state, long timeOut) throws Exception { new ACondition("Wait for state " + state, timeOut) { @Override//from w ww .j a v a 2s .c om public boolean test() throws Exception { assertEquals(state, element.getRunState()); return true; } }; }