@Override
	public Page<DetailedContainer> findAllRuntimeContainers(Pageable pageable, boolean maskSensitiveProperties) {
		List<DetailedContainer> results = new ArrayList<DetailedContainer>();
		List<Container> containers = this.findAll();

		for (Container container : containers) {
			DetailedContainer runtimeContainer = new DetailedContainer(container);
			final List<ModuleMetadata> deployedModules = zkModuleMetadataRepository.findAllByContainerId(
					container.getName());

			if (maskSensitiveProperties) {
				for (ModuleMetadata moduleMetadata : deployedModules) {
					PasswordUtils.maskPropertiesIfNecessary(moduleMetadata.getModuleOptions());
				}
			}

			runtimeContainer.setDeployedModules(deployedModules);
			runtimeContainer.setDeploymentSize(deployedModules.size());
			results.add(runtimeContainer);
		}
		return detailedContainersUtil.getPagedData(pageable, results);
	}
Find all the {@link DetailedContainer}s in the XD cluster.

@param pageable the pagination info
@param maskSensitiveProperties Shall sensitive data such as passwords be masked?
@return the paged list of {@link DetailedContainer}s
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/container/store/ZooKeeperContainerRepository.java