All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.jinjava.doc.JinjavaDoc Maven / Gradle / Ivy

There is a newer version: 2.7.3
Show newest version
package com.hubspot.jinjava.doc;

import java.util.Map;
import java.util.TreeMap;

public class JinjavaDoc {

  private final Map expTests = new TreeMap<>();
  private final Map filters = new TreeMap<>();
  private final Map functions = new TreeMap<>();
  private final Map tags = new TreeMap<>();

  public Map getExpTests() {
    return expTests;
  }

  public void addExpTest(JinjavaDocExpTest expTest) {
    expTests.put(expTest.getName(), expTest);
  }

  public Map getFilters() {
    return filters;
  }

  public void addFilter(JinjavaDocFilter filter) {
    filters.put(filter.getName(), filter);
  }

  public Map getFunctions() {
    return functions;
  }

  public void addFunction(JinjavaDocFunction function) {
    functions.put(function.getName(), function);
  }

  public Map getTags() {
    return tags;
  }

  public void addTag(JinjavaDocTag tag) {
    tags.put(tag.getName(), tag);
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy