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

core.support.objects.DeviceObject Maven / Gradle / Ivy

package core.support.objects;

import org.apache.commons.lang.StringUtils;

/**
 * @author CAEHMAT
 *
 * 
 */
public class DeviceObject {
	public String deviceName = StringUtils.EMPTY;
	public Boolean isAvailable;
	public DeviceType deviceType;
	public int devicePort = -1;

	public enum DeviceType {
		iOS, Android, Win
	}

	public DeviceObject withDeviceName(String deviceName) {
		this.deviceName = deviceName;
		return this;
	}

	public DeviceObject withIsAvailable(Boolean isAvailable) {
		this.isAvailable = isAvailable;
		return this;
	}

	public DeviceObject withDeviceType(DeviceType type) {
		this.deviceType = type;
		return this;
	}

	public DeviceObject withDevicePort(int devicePort) {
		this.devicePort = devicePort;
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy