From 4f709ce95a4e5e223ad03946dfcbe6b3adf56236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Kalkosi=C5=84ski?= Date: Mon, 18 Nov 2019 15:49:36 +0100 Subject: [PATCH] Remove unused ConnectorValidator --- .../sputnik/connector/ConnectorFacade.java | 27 ------------------- 1 file changed, 27 deletions(-) diff --git a/src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java b/src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java index aefb4027..e69de29b 100644 --- a/src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java +++ b/src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java @@ -1,27 +0,0 @@ -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); -}