private ModuleDeploymentStatus createResult(String pathString, Map<String, String> statusMap) {
		ModuleDeploymentsPath path = new ModuleDeploymentsPath(pathString);
		ModuleDescriptor.Key key = new ModuleDescriptor.Key(
				path.getDeploymentUnitName(),
				ModuleType.valueOf(path.getModuleType()),
				path.getModuleLabel());
		return new ModuleDeploymentStatus(path.getContainer(), path.getModuleSequence(), key,
				statusMap);
	}
Create a {@link ModuleDeploymentStatus} from a ZooKeeper path and status map.

@param pathString  ZooKeeper module deployment path
@param statusMap   status map
@return result based on status map
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/server/admin/deployment/zk/ModuleDeploymentWriter.java