Class AppEnvironmentDto
java.lang.Object
com.applitools.eyes.universal.dto.AppEnvironmentDto
The environment in which the application under test is executing.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the device name (not part of test signature)Gets the hosting app info (not part of test signature)Gets the device info (not part of test signature)Gets hosting app.getOs()Gets os.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.voidSets os.voidSets display size.toString()
-
Constructor Details
-
AppEnvironmentDto
public AppEnvironmentDto()
-
-
Method Details
-
getOs
Gets os.- Returns:
- the OS hosting the application under test or
nullif unknown.
-
setOs
Sets os.- Parameters:
os- - the OS hosting the application under test ornullif unknown.
-
getHostingApp
Gets hosting app.- Returns:
- the application hosting the application under test or
nullif unknown.
-
setHostingApp
Sets hosting app.- Parameters:
hostingApp- - the application hosting the application under test ornullif unknown.
-
getViewportSize
Gets display size.- Returns:
- the display size of the application or
nullif unknown.
-
setViewportSize
Sets display size.- Parameters:
size- - the display size of the application ornullif unknown.
-
toString
-
getDeviceName
Gets the device name (not part of test signature)- Returns:
- the device name
-
setDeviceName
Sets the device name (not part of test signature)- Parameters:
deviceName- the device name
-
getDisplayOs
-
setDisplayOs
Sets the os info (not part of test signature)- Parameters:
displayOs- the os info
-
getDisplayHostingApp
Gets the hosting app info (not part of test signature)- Returns:
- the hosting app info
-
setDisplayHostingApp
Sets the hosting app info (not part of test signature)- Parameters:
displayHostingApp- the hosting app
-