Class MixAuditProcessor

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

    public class MixAuditProcessor
    extends Processor<java.io.InputStream>
    Processor for the output of `mix_audit`.
    Author:
    Jeremy Long
    • Constructor Summary

      Constructors 
      Constructor Description
      MixAuditProcessor​(Dependency mixDependency, Engine engine)
      Constructs a new processor to consume the output of `mix_audit`.
    • Constructor Detail

      • MixAuditProcessor

        public MixAuditProcessor​(Dependency mixDependency,
                                 Engine engine)
        Constructs a new processor to consume the output of `mix_audit`.
        Parameters:
        mixDependency - a reference to `mix.lock` dependency
        engine - a reference to the dependency-check engine
    • Method Detail

      • run

        public void run()
      • close

        public void close()
                   throws java.io.IOException,
                          AnalysisException,
                          us.springett.parsers.cpe.exceptions.CpeValidationException
        Throws any exceptions that occurred during processing.
        Throws:
        java.io.IOException - thrown if there was an error reading from the process
        AnalysisException - thrown if an analysis error occurred
        us.springett.parsers.cpe.exceptions.CpeValidationException - if there is an error building the CPE/VulnerableSoftware object