io.codemodder.RuleSarifFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codemodder-base Show documentation
Show all versions of codemodder-base Show documentation
Base framework for writing codemods in Java
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 - 2025 Weber Informatics LLC | Privacy Policy