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

pl.touk.sputnik.connector.ConnectorFacade Maven / Gradle / Ivy

Go to download

Static code review for your Gerrit and Stash patchsets. Runs Checkstyle, PMD and SpotBugs for you!

There is a newer version: 2.8.0
Show newest version
package pl.touk.sputnik.connector;

import org.jetbrains.annotations.NotNull;
import pl.touk.sputnik.configuration.Configuration;
import pl.touk.sputnik.configuration.GeneralOptionNotSupportedException;
import pl.touk.sputnik.review.Review;
import pl.touk.sputnik.review.ReviewFile;

import java.util.List;

public interface ConnectorFacade extends ReviewPublisher {
    Connectors name();

    @NotNull
    List listFiles();

    /**
     * Validates if given options are supported by selected connector.
     *
     * @throws GeneralOptionNotSupportedException
     *             if passed configuration is not valid or not fully supported
     */
    void validate(Configuration configuration) throws GeneralOptionNotSupportedException;

    @Deprecated
    void setReview(@NotNull Review review);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy