All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.codemodder.providers.sarif.semgrep.SemgrepRuleFactory Maven / Gradle / Ivy

There is a newer version: 0.97.8
Show newest version
package io.codemodder.providers.sarif.semgrep;

import io.codemodder.CodeChanger;

/** A type that creates codemodder-ready Semgrep YAML rules ready for execution. */
interface SemgrepRuleFactory {

  /**
   * Given the user's configuration data, return a definition of a rule that can be used by
   * codemodder.
   */
  SemgrepRule createRule(
      Class codemodType, SemgrepScan scanInfo, String packageName);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy