private static boolean shouldContainerRestartOnDeploy(Container container, VespaModel nextModel) {
        QrConfig config = nextModel.getConfig(QrConfig.class, container.getConfigId());
        return config.restartOnDeploy();
    }
Returns a restart action for each container that has turned on {@link QrConfig#restartOnDeploy()}.

@author bjorncs
config-model/src/main/java/com/yahoo/vespa/model/application/validation/change/ContainerRestartValidator.java