Class SemgrepRuleSarifFactory

java.lang.Object
io.codemodder.providers.sarif.semgrep.SemgrepRuleSarifFactory
All Implemented Interfaces:
io.codemodder.RuleSarifFactory

public class SemgrepRuleSarifFactory extends Object implements io.codemodder.RuleSarifFactory
A factory for building SingleSemgrepRuleSarifs.
  • Constructor Details

    • SemgrepRuleSarifFactory

      public SemgrepRuleSarifFactory()
  • Method Details

    • build

      public Optional<io.codemodder.RuleSarif> build(String toolName, String rule, com.contrastsecurity.sarif.SarifSchema210 sarif, io.codemodder.CodeDirectory codeDirectory)
      Specified by:
      build in interface io.codemodder.RuleSarifFactory