pl.touk.sputnik.connector.ConnectorFacade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sputnik Show documentation
Show all versions of sputnik Show documentation
Static code review for your Gerrit and Stash patchsets. Runs Checkstyle, PMD and SpotBugs for you!
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);
}