public List<Pair<String, Spec>> getAllSpecs() {
    List<Pair<String, Spec>> list = new ArrayList<>();
    Iterator<Map.Entry<String, Spec>> it =  specMap.entrySet().iterator();
    while (it.hasNext()) {
      Map.Entry<String, Spec> entry = it.next();
      list.add(new Pair<>(entry.getKey(), entry.getValue()));
    }
    return list;
  }
Gets all supported environment variables and their Specs.
@return A list of Pair containing the name and Spec of all environment variable.
samza-sql-shell/src/main/java/org/apache/samza/sql/client/interfaces/EnvironmentVariableSpecs.java