Class BundlerAuditProcessor

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.lang.Runnable

    public class BundlerAuditProcessor
    extends Processor<java.io.InputStream>
    Processor for the output of bundler-audit.
    Author:
    Jeremy Long
    • Constructor Summary

      Constructors 
      Constructor Description
      BundlerAuditProcessor​(Dependency gemDependency, Engine engine)
      Constructs a new processor to consume the output of `bundler-audit`.
    • Constructor Detail

      • BundlerAuditProcessor

        public BundlerAuditProcessor​(Dependency gemDependency,
                                     Engine engine)
        Constructs a new processor to consume the output of `bundler-audit`.
        Parameters:
        gemDependency - a reference to `gem.lock` dependency
        engine - a reference to the dependency-check engine
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException,
                          us.springett.parsers.cpe.exceptions.CpeValidationException
        Throws any exceptions that occurred during processing.
        Throws:
        java.io.IOException - thrown if an IO Exception occurred
        us.springett.parsers.cpe.exceptions.CpeValidationException - thrown if a CPE validation exception occurred
      • run

        public void run()