Class MixAuditProcessor
- java.lang.Object
-
- org.owasp.dependencycheck.utils.processing.Processor<java.io.InputStream>
-
- org.owasp.dependencycheck.processing.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`.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Throws any exceptions that occurred during processing.void
run()
-
Methods inherited from class org.owasp.dependencycheck.utils.processing.Processor
addSuppressedExceptions, getInput, setInput
-
-
-
-
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` dependencyengine
- 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 processAnalysisException
- thrown if an analysis error occurredus.springett.parsers.cpe.exceptions.CpeValidationException
- if there is an error building the CPE/VulnerableSoftware object
-
-