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);
}