com.browserstack.client.BrowserStackClientInterface Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of automate-client-java Show documentation
Show all versions of automate-client-java Show documentation
Java bindings for BrowserStack Automate REST API
The newest version!
package com.browserstack.client;
import java.util.List;
import com.browserstack.automate.Automate.BuildStatus;
import com.browserstack.automate.exception.BuildNotFound;
import com.browserstack.automate.exception.SessionNotFound;
import com.browserstack.automate.model.Build;
import com.browserstack.automate.model.Session;
import com.browserstack.client.exception.BrowserStackException;
public interface BrowserStackClientInterface {
Session getSession(String sessionId) throws SessionNotFound, BrowserStackException;
List getBuilds(BuildStatus status, int limit, String buildName) throws BrowserStackException;
List getBuilds(BuildStatus status, int limit) throws BrowserStackException;
List getBuilds(int limit) throws BrowserStackException;
List getBuilds(BuildStatus status) throws BrowserStackException;
List getBuilds() throws BrowserStackException;
Build getBuild(String buildId) throws BuildNotFound, BrowserStackException;
Build getBuildByName(String buildName) throws BuildNotFound, BrowserStackException;
boolean deleteBuild(String buildId) throws BrowserStackException;
List getSessions(String buildId, BuildStatus status, int limit)
throws BuildNotFound, BrowserStackException;
List getSessions(String buildId) throws BuildNotFound, BrowserStackException;
List getSessions(String buildId, int limit) throws BuildNotFound, BrowserStackException;
List getSessions(String buildId, BuildStatus status)
throws BuildNotFound, BrowserStackException;
void setProxy(String proxyHost, int proxyPort, String proxyUsername, String proxyPassword);
}