Class AllowlistWarningsGuard.AllowlistBuilder

    • Constructor Detail

      • AllowlistBuilder

        public AllowlistBuilder()
    • Method Detail

      • report

        public void report​(CheckLevel level,
                           JSError error)
        Specified by:
        report in interface ErrorHandler
        Parameters:
        level - the reporting level
        error - the error to report
      • writeAllowlist

        public void writeAllowlist​(java.io.File out)
                            throws java.io.IOException
        Writes the warnings collected in a format that the AllowlistWarningsGuard can read back later.
        Throws:
        java.io.IOException
      • appendAllowlist

        public void appendAllowlist​(java.io.PrintStream out)
        Writes the warnings collected in a format that the AllowlistWarningsGuard can read back later.