public class AppAutomateClient extends BrowserStackClient implements AppAutomate
BrowserStackClient.Method, BrowserStackClient.ProductcacheMap| Constructor and Description |
|---|
AppAutomateClient(String username,
String accessKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteBuild(String buildId)
Delete the build identified by the build identifier.
|
Build |
getBuild(String buildId)
Gets the build identified by the build identifier.
|
Build |
getBuildByName(String buildName)
Gets the build identified by the build name.
|
List<Build> |
getBuilds()
Gets the list of builds.
|
List<Build> |
getBuilds(Automate.BuildStatus status)
Gets the list of builds.
|
List<Build> |
getBuilds(Automate.BuildStatus status,
int limit)
Gets the list of builds.
|
List<Build> |
getBuilds(int limit)
Gets the list of builds.
|
Session |
getSession(String sessionId)
Gets the session associated with the specified identifier.
|
List<Session> |
getSessions(String buildId)
Retrieves the list of sessions existing under a specific build.
|
List<Session> |
getSessions(String buildId,
Automate.BuildStatus status)
Retrieves the list of sessions existing under a specific build.
|
List<Session> |
getSessions(String buildId,
Automate.BuildStatus status,
int limit)
Retrieves the list of sessions existing under a specific build.
|
List<Session> |
getSessions(String buildId,
int limit)
Retrieves the list of sessions existing under a specific build.
|
AppUploadResponse |
uploadApp(String filePath)
Gets the filePath of app to be uploaded.
|
getAccessKey, getBrowsersForProduct, getBrowsersForProduct, getBuilds, newRequest, newRequest, newRequest, newRequest, setAccessKey, setProxy, signRequestpublic Session getSession(String sessionId) throws SessionNotFound, AppAutomateException
getSession in interface BrowserStackClientInterfacegetSession in class BrowserStackClientsessionId - ID that uniquely identifies a session.Session objects containing test session information.SessionNotFoundAppAutomateExceptionpublic AppUploadResponse uploadApp(String filePath) throws AppAutomateException, FileNotFoundException, InvalidFileExtensionException
uploadApp in interface AppAutomatefilePath - absolute path of app to be uploaded.AppAutomateExceptionFileNotFoundExceptionInvalidFileExtensionExceptionpublic List<Build> getBuilds(Automate.BuildStatus status, int limit) throws AppAutomateException
A build is an organizational structure for tests.
getBuilds in interface BrowserStackClientInterfacegetBuilds in class BrowserStackClientstatus - Return only builds that match the specified build status.limit - Limit results to the specified count.Build objects.AppAutomateExceptionpublic List<Build> getBuilds() throws AppAutomateException
A build is an organizational structure for tests.
getBuilds in interface BrowserStackClientInterfacegetBuilds in class BrowserStackClientBuild objects.AppAutomateExceptionpublic List<Build> getBuilds(int limit) throws AppAutomateException
A build is an organizational structure for tests.
getBuilds in interface BrowserStackClientInterfacegetBuilds in class BrowserStackClientlimit - Limit results to the specified count.Build objects.AppAutomateExceptionpublic List<Build> getBuilds(Automate.BuildStatus status) throws AppAutomateException
A build is an organizational structure for tests.
getBuilds in interface BrowserStackClientInterfacegetBuilds in class BrowserStackClientstatus - Include only builds that match the specified build status.Build objects.AppAutomateExceptionpublic Build getBuild(String buildId) throws BuildNotFound, AppAutomateException
getBuild in interface BrowserStackClientInterfacegetBuild in class BrowserStackClientbuildId - ID that uniquely identifies a build.Build objects.BuildNotFoundAppAutomateExceptionpublic final Build getBuildByName(@Nonnull String buildName) throws BuildNotFound, AppAutomateException
getBuildByName in interface BrowserStackClientInterfacegetBuildByName in class BrowserStackClientbuildName - - Name of the build to search withBuild object.BuildNotFoundAppAutomateExceptionpublic boolean deleteBuild(String buildId) throws AppAutomateException
deleteBuild in interface BrowserStackClientInterfacedeleteBuild in class BrowserStackClientbuildId - ID that uniquely identifies a build.AppAutomateExceptionpublic List<Session> getSessions(String buildId, Automate.BuildStatus status, int limit) throws BuildNotFound, AppAutomateException
getSessions in interface BrowserStackClientInterfacegetSessions in class BrowserStackClientbuildId - ID that uniquely identifies a build.status - Include only builds that match the specified build status.limit - Limit results to the specified count.Session objects containing test session information.BuildNotFoundAppAutomateExceptionpublic List<Session> getSessions(String buildId) throws BuildNotFound, AppAutomateException
getSessions in interface BrowserStackClientInterfacegetSessions in class BrowserStackClientbuildId - ID that uniquely identifies a build.Session objects containing test session information.BuildNotFoundAppAutomateExceptionpublic List<Session> getSessions(String buildId, int limit) throws BuildNotFound, AppAutomateException
getSessions in interface BrowserStackClientInterfacegetSessions in class BrowserStackClientbuildId - ID that uniquely identifies a build.limit - Limit results to the specified count.Session objects containing test session information.BuildNotFoundAppAutomateExceptionpublic List<Session> getSessions(String buildId, Automate.BuildStatus status) throws BuildNotFound, AppAutomateException
getSessions in interface BrowserStackClientInterfacegetSessions in class BrowserStackClientbuildId - ID that uniquely identifies a build.status - Include only builds that match the specified build status.Session objects containing test session information.BuildNotFoundAppAutomateExceptionCopyright © 2021. All rights reserved.