Class BundlerAuditProcessor
- java.lang.Object
-
- org.owasp.dependencycheck.utils.processing.Processor<java.io.InputStream>
-
- org.owasp.dependencycheck.processing.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`.
-
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
-
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` dependencyengine
- 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 occurredus.springett.parsers.cpe.exceptions.CpeValidationException
- thrown if a CPE validation exception occurred
-
run
public void run()
-
-