Class AppEnvironmentDto
- java.lang.Object
-
- com.applitools.eyes.universal.dto.AppEnvironmentDto
-
public class AppEnvironmentDto extends Object
The environment in which the application under test is executing.
-
-
Constructor Summary
Constructors Constructor Description AppEnvironmentDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDeviceName()Gets the device name (not part of test signature)StringgetHostingApp()Gets hosting app.StringgetHostingAppInfo()Gets the hosting app info info (not part of test signature)StringgetOs()Gets os.StringgetOsInfo()Gets the device info (not part of test signature)RectangleSizeDtogetViewportSize()Gets display size.voidsetDeviceName(String deviceName)Sets the device name (not part of test signature)voidsetHostingApp(String hostingApp)Sets hosting app.voidsetHostingAppInfo(String hostingAppInfo)Sets the hosting app info info (not part of test signature)voidsetOs(String os)Sets os.voidsetOsInfo(String osInfo)Sets the os info (not part of test signature)voidsetViewportSize(RectangleSizeDto size)Sets display size.StringtoString()
-
-
-
Method Detail
-
getOs
public String getOs()
Gets os.- Returns:
- the OS hosting the application under test or
nullif unknown.
-
setOs
public void setOs(String os)
Sets os.- Parameters:
os- - the OS hosting the application under test ornullif unknown.
-
getHostingApp
public String getHostingApp()
Gets hosting app.- Returns:
- the application hosting the application under test or
nullif unknown.
-
setHostingApp
public void setHostingApp(String hostingApp)
Sets hosting app.- Parameters:
hostingApp- - the application hosting the application under test ornullif unknown.
-
getViewportSize
public RectangleSizeDto getViewportSize()
Gets display size.- Returns:
- the display size of the application or
nullif unknown.
-
setViewportSize
public void setViewportSize(RectangleSizeDto size)
Sets display size.- Parameters:
size- - the display size of the application ornullif unknown.
-
getDeviceName
public String getDeviceName()
Gets the device name (not part of test signature)- Returns:
- the device name
-
setDeviceName
public void setDeviceName(String deviceName)
Sets the device name (not part of test signature)- Parameters:
deviceName- the device name
-
getOsInfo
public String getOsInfo()
Gets the device info (not part of test signature)- Returns:
- the os info
-
setOsInfo
public void setOsInfo(String osInfo)
Sets the os info (not part of test signature)- Parameters:
osInfo- the os info
-
getHostingAppInfo
public String getHostingAppInfo()
Gets the hosting app info info (not part of test signature)- Returns:
- the hosting app info
-
setHostingAppInfo
public void setHostingAppInfo(String hostingAppInfo)
Sets the hosting app info info (not part of test signature)- Parameters:
hostingAppInfo- the hosting app
-
-