private String getActionToConfigListAsString(Map<String, List<String>> actionToConfigKeyList) {
    String output = "";

    String[] actions = {"added", "deleted", "changed"};
    int i = 0;
    for (String action : actions) {
      i++;
      output += action + ": [";
      if (actionToConfigKeyList.containsKey(action)) {
        List<String> values = actionToConfigKeyList.get(action);
        output += StringUtils.join(values, ", ");

      }
      if (i < actions.length) {
        output += "], ";
      } else {
        output += "]";
      }
    }
    return output;
  }
Get a string that represents config keys that are changed, added, or deleted.
@param actionToConfigKeyList Dictionary from the action to a list of configs in that category.
@return String that represents config keys that are changed, added, or deleted.
ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java