protected ContainerMatcher instantiateContainerMatcher(ModuleDescriptor moduleDescriptor) throws Exception {
Collection<String> containers = (moduleDescriptor.getType() == ModuleType.job)
? getContainersForJobModule(moduleDescriptor)
: getContainersForStreamModule(moduleDescriptor);
return new RedeploymentContainerMatcher(containerMatcher, containers);
}