private List<String> convertCSVwithQuotesToList(String value) {
    List<String> list = new ArrayList<>();
    if (StringUtils.isNotEmpty(value)) {
      if (value.indexOf(",") >= 0) {
        for (String e : value.split(",")) {
          e = StringUtils.stripStart(e, "\"");
          e = StringUtils.stripEnd(e, "\"");
          list.add(e);
        }
      } else {
        list.add(value);
      }
    }
    return list;
  }
Convert quoted elements separated by commas into a list. Values cannot contain double quotes or commas.
@param value, e.g., String with value "a","b","c" => ["a", "b", "c"]
@return List of parsed values, or empty list if no values exist.
ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java