com.testvagrant.monitor.services.DevicesService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of optimus-monitor Show documentation
Show all versions of optimus-monitor Show documentation
The Java Client provides access to Optimus cloud for all java based projects.
The newest version!
package com.testvagrant.monitor.services;
import com.testvagrant.monitor.entities.DeviceDetails;
import com.testvagrant.monitor.exceptions.DeviceEngagedException;
import com.testvagrant.monitor.exceptions.DeviceReleaseException;
import com.testvagrant.monitor.requests.Device;
import org.json.simple.JSONObject;
import java.util.List;
public interface DevicesService {
DeviceDetails getDeviceByUdid(String udid);
List getAllDevices();
void insertDeviceList(List deviceDetailsList);
Device updateFirstAvailableDeviceToEngaged(JSONObject testFeed) throws DeviceEngagedException;
Device updateFirstAvailableDeviceToEngaged(String udid) throws DeviceEngagedException;
void updateDeviceScreenshot(String udid, byte[] screenshot);
void updateStatusToAvailableForDevice(String udid) throws DeviceReleaseException;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy