Uses of Class
com.testdroid.api.APIException
-
Uses of APIException in com.testdroid.api
Modifier and TypeMethodDescriptionprotected APIException
AbstractAPIClient.getAPIException
(com.google.api.client.http.HttpResponseException ex) Modifier and TypeMethodDescriptionvoid
void
Calls DELETE request to APIvoid
APIResource.delete()
Deletes the entity owned by this resource in server side.protected void
AbstractAPIClient.deleteOnce
(String uri) protected void
APIEntity.deleteResource
(String uri) AbstractAPIClient.findDevicePropertyInLabelGroup
(String groupName, String labelName) APIClient.findDevicePropertyInLabelGroup
(String groupName, String labelName) protected <T> T
AbstractAPIClient.fromJson
(InputStream inputStream, com.fasterxml.jackson.core.type.TypeReference<T> type) protected <T> T
<T extends APIEntity>
TCalls GET request to API.<T extends APIEntity>
TCalls GET request to APIAPIListResource.getEntity()
APIResource.getEntity()
Returns the entity owned by this resource.protected InputStream
com.google.api.client.http.HttpResponse
AbstractAPIClient.getHttpResponse
(String uri, Context<?> context) com.google.api.client.http.HttpResponse
APIClient.getHttpResponse
(String uri, Context<?> context) protected <T extends APIEntity>
APIListResource<T>APIEntity.getListResource
(String uri, Context<T> context) protected <T extends APIEntity>
APIListResource<T>APIEntity.getListResource
(String uri, Class<T> type) APIListResource.getNext()
Returns resource with next page of items in that list.APIList.getNextItems()
protected <T extends APIEntity>
TAbstractAPIClient.getOnce
(String uri, Context<?> context, com.fasterxml.jackson.core.type.TypeReference<T> type) Tries to call API once.APIListResource.getPrevious()
Returns resource with previous page of items in that list.APIList.getPreviousItems()
protected com.google.api.client.http.HttpRequestFactory
AbstractAPIClient.getRequestFactory()
protected <T extends APIEntity>
APIResource<T>APIEntity.getResource
(String uri, Class<T> type) protected InputStream
APIResource.getStream()
Calls API and returns response stream as a result.APIListResource.getTotal()
Returns total number of available items in this resource list.AbstractAPIClient.me()
APIClient.me()
Fetch and return me - the authenticated user.<T extends APIEntity>
T<T extends APIEntity>
TCalls POST request to API<T extends APIEntity>
TAbstractAPIClient.postFile
(String uri, String contentType, File file, Map<String, String> fileExtraParams, Class<T> type) <T extends APIEntity>
TAPIClient.postFile
(String uri, String contentType, File file, Map<String, String> fileExtraParams, Class<T> type) Calls POST request to APIprotected <T extends APIEntity>
TAPIEntity.postFile
(String uri, File file, Map<String, String> fileExtraParams, String contentType, Class<T> type) protected <T extends APIEntity>
TAbstractAPIClient.postOnce
(String uri, Object body, Map<String, String> fileExtraParams, String contentType, com.fasterxml.jackson.core.type.TypeReference<T> type) protected <T extends APIEntity>
TAPIEntity.postResource
(String uri, Object body, Class<T> type) void
APIEntity.refresh()
void
APIList.refresh()
void
APIResource.refresh()
Forces retrieving entity from the server side.APIResource.update()
Updates the entity owned by this resource in server side. -
Uses of APIException in com.testdroid.api.model
Modifier and TypeMethodDescriptionAPIDeviceSession.abort()
void
APITestRun.abort()
void
APIDeviceGroup.addSelector
(APIDeviceProperty deviceProperty) APIUser.createDeviceGroup
(String displayName, APIDevice.OsType osType) APIUser.createProject
(String name) void
APIDeviceGroup.delete()
void
APIProject.delete()
void
APITag.delete()
void
APITestRun.delete()
void
APIUserFile.delete()
void
APIDeviceGroup.deleteDevice
(APIDevice device) APIUser.getAvailableFrameworksResource
(Context<APIFramework> context) APIScreenshot.getContent()
APIUser.getDeviceGroupsResource()
APIUser.getDeviceGroupsResource
(Context<APIDeviceGroup> context) APITestRun.getDeviceSessionsResource()
APITestRun.getDeviceSessionsResource
(Context<APIDeviceSession> context) APIDeviceSession.getDeviceSessionStepsResource()
APIUserFile.getFile()
APIUserFile.getIcon()
APIDeviceGroup.getIncludedDevicesResource()
APIDeviceGroup.getIncludedDevicesResource
(Context<APIDevice> context) APITestRun.getLogsZip()
APIUser.getNotification
(Long id) APIUser.getNotificationsResource()
APIUser.getNotificationsResource
(Context<APINotification> context) APIDeviceSession.getOutputFiles()
APIUser.getProject
(Long id) APIUser.getProjectsResource()
APIUser.getProjectsResource
(Context<APIProject> context) APIDeviceSession.getScreenshotsResource()
APIDeviceSession.getScreenshotsResource
(Context<APIScreenshot> context) APITestRun.getScreenshotsZip()
APITestRun.getTagsResource()
APITestRun.getTagsResource
(Context<APITag> context) APIUserFile.getTagsResource()
APIProject.getTestRun
(Long id) APIProject.getTestRunsResource()
APIProject.getTestRunsResource
(Context<APITestRun> context) APIDeviceSession.release()
void
APITestRun.requestLogsZip()
void
APITestRun.requestScreenshotsZip()
APIUser.startTestRun
(APITestRunConfig config) void
APIProject.update()
void
APITestRun.update()
void
APIUser.update()
APIUser.updateDeviceSession
(String sessionId, String name, String clientSideId, APIDeviceSession.State state) APIUser.uploadFile
(File file) APIUser.validateTestRunConfig
(APITestRunConfig config) APIUserFile.waitForVirusScan()
APIUserFile.waitForVirusScan
(long timeout) static void
APIUserFile.waitForVirusScans
(long timeout, APIUserFile... files) static void
APIUserFile.waitForVirusScans
(APIUserFile... files)