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)StringgetDisplayHostingApp()Gets the hosting app info (not part of test signature)StringgetDisplayOs()Gets the device info (not part of test signature)StringgetHostingApp()Gets hosting app.StringgetOs()Gets os.RectangleSizeDtogetViewportSize()Gets display size.voidsetDeviceName(String deviceName)Sets the device name (not part of test signature)voidsetDisplayHostingApp(String displayHostingApp)Sets the hosting app info (not part of test signature)voidsetDisplayOs(String displayOs)Sets the os info (not part of test signature)voidsetHostingApp(String hostingApp)Sets hosting app.voidsetOs(String os)Sets os.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
-
getDisplayOs
public String getDisplayOs()
Gets the device info (not part of test signature)- Returns:
- the os info
-
setDisplayOs
public void setDisplayOs(String displayOs)
Sets the os info (not part of test signature)- Parameters:
displayOs- the os info
-
getDisplayHostingApp
public String getDisplayHostingApp()
Gets the hosting app info (not part of test signature)- Returns:
- the hosting app info
-
setDisplayHostingApp
public void setDisplayHostingApp(String displayHostingApp)
Sets the hosting app info (not part of test signature)- Parameters:
displayHostingApp- the hosting app
-
-