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

com.exasol.artifactreferencechecker.FileAndLineVisitor Maven / Gradle / Ivy

package com.exasol.artifactreferencechecker;

import java.nio.file.Path;
import java.util.regex.Pattern;

import org.apache.maven.plugin.MojoExecutionException;
import org.apache.maven.plugin.MojoFailureException;

/**
 * Interface for verify or unify specific behaviour.
 */
public interface FileAndLineVisitor {
    public void visit(Path file);

    public void leave(Path file) throws MojoExecutionException;

    public void visitLine(String line, Pattern pattern, String expected);

    public void report() throws MojoFailureException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy