public class ScreenshotRequests extends BaseRequests
baseUrl, client, gson| Constructor and Description |
|---|
ScreenshotRequests(String baseUrl) |
| Modifier and Type | Method and Description |
|---|---|
ImageCompareResponse |
baselineCompare(String screenshotId) |
Screenshot |
create(CreateScreenshot createScreenshot) |
Boolean |
delete(String screenshotId) |
Screenshot |
get(String screenshotId) |
Screenshot[] |
get(String buildId,
String view,
Integer limit,
Integer skip) |
Screenshot |
update(String screenshotId,
UpdateScreenshot updateRequest) |
getDefaultErrorMessage, processErrorResponse, processResponse, sendDelete, sendJSONGet, sendJSONGet, sendJSONPost, sendJSONPut, sendMultiPartEntitypublic ScreenshotRequests(String baseUrl)
public Screenshot create(CreateScreenshot createScreenshot) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Screenshot[] get(String buildId, String view, Integer limit, Integer skip) throws IOException, URISyntaxException, AnglesServerException
public Screenshot get(String screenshotId) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic ImageCompareResponse baselineCompare(String screenshotId) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Boolean delete(String screenshotId) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionpublic Screenshot update(String screenshotId, UpdateScreenshot updateRequest) throws IOException, AnglesServerException
IOExceptionAnglesServerExceptionCopyright © 2021. All rights reserved.