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

io.codemodder.SarifParser Maven / Gradle / Ivy

package io.codemodder;

import java.nio.file.Path;
import java.util.List;
import java.util.Map;

/**
 * Parses a list of sarif {@link Path}s to a {@link Map} of {@link RuleSarif}s organized by tool
 * name.
 */
public interface SarifParser {

  /**
   * Given a list of sarif {@link Path}s, organize them into a {@link Map} containing {@link
   * RuleSarif}s organized by tool name.
   */
  Map> parseIntoMap(List sarifFiles, Path repositoryRoot);

  static SarifParser create() {
    return new DefaultSarifParser();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy