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

io.codemodder.RuleSarifFactory Maven / Gradle / Ivy

package io.codemodder;

import com.contrastsecurity.sarif.SarifSchema210;
import java.util.Optional;

/** Builds {@link RuleSarif}s. */
public interface RuleSarifFactory {

  /** Builds {@link RuleSarif}s if it supports {@code toolName}. */
  Optional build(
      String toolName,
      String rule,
      String messageText,
      SarifSchema210 sarif,
      CodeDirectory codeDirectory);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy