All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.testvagrant.monitor.services.DevicesService Maven / Gradle / Ivy

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