public RestartActions useForInternalRestart(boolean useForInternalRestart) {
        return new RestartActions(actions.entrySet().stream()
                .filter(entry -> !useForInternalRestart || !entry.getValue().ignoreForInternalRedeploy())
                .collect(Collectors.toMap(Map.Entry::getKey, Map.Entry::getValue)));
    }
Represents all actions to restart services in order to handle a config change.

@author geirst
configserver/src/main/java/com/yahoo/vespa/config/server/configchange/RestartActions.java