public State waitForDeploy(String resourceName) {
		return waitForDeploy(resourceName, false);
	}
Wait for a named resource to be completely deployed.
@param resourceName the name of the resource being deployed
@return the deployment status, either State.deployed or the current State
        when this operation timed out.
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/test/ResourceStateVerifier.java