Interface PageCapture.NavAdder

Enclosing class:
PageCapture
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

A nav-tree mutation deferred until the chrome's nav tree exists. Unlike a plain Consumer, it may throw TemplateModelException, which NavNode.add(String, String, String) does on a duplicate sibling id.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(NavNode parent)
     
  • Method Details

    • accept

      void accept(NavNode parent) throws freemarker.template.TemplateModelException
      Parameters:
      parent - The resolved ancestor node.
      Throws:
      freemarker.template.TemplateModelException - If adding under parent fails.