public class AppEnvironment extends Object
| Constructor and Description |
|---|
AppEnvironment()
Creates a new AppEnvironment instance.
|
AppEnvironment(String inferred)
Creates a new AppEnvironment instance.
|
AppEnvironment(String os,
String hostingApp,
com.applitools.eyes.RectangleSize displaySize)
Creates a new AppEnvironment instance.
|
AppEnvironment(String os,
String hostingApp,
com.applitools.eyes.RectangleSize displaySize,
String deviceName,
String osInfo,
String hostingAppInfo)
Creates a new AppEnvironment instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDeviceInfo()
Gets the device info (not part of test signature)
|
com.applitools.eyes.RectangleSize |
getDisplaySize()
Gets display size.
|
String |
getHostingApp()
Gets hosting app.
|
String |
getHostingAppInfo()
Gets the hosting app info info (not part of test signature)
|
String |
getInferred()
Gets inferred.
|
String |
getOs()
Gets os.
|
String |
getOsInfo()
Gets the device info (not part of test signature)
|
void |
setDeviceInfo(String deviceInfo)
Sets the device info (not part of test signature)
|
void |
setDisplaySize(com.applitools.eyes.RectangleSize size)
Sets display size.
|
void |
setHostingApp(String hostingApp)
Sets hosting app.
|
void |
setHostingAppInfo(String hostingAppInfo)
Sets the hosting app info info (not part of test signature)
|
void |
setInferred(String inferred)
Sets inferred.
|
void |
setOs(String os)
Sets os.
|
void |
setOsInfo(String osInfo)
Sets the os info (not part of test signature)
|
String |
toString() |
public AppEnvironment()
public AppEnvironment(String inferred)
inferred - the inferred environment information.public AppEnvironment(String os, String hostingApp, com.applitools.eyes.RectangleSize displaySize)
os - the OS hosting the application under test or null if unknown.hostingApp - the application hosting the application under test or null * if unknown.displaySize - the display size of the application or null if unknown.public AppEnvironment(String os, String hostingApp, com.applitools.eyes.RectangleSize displaySize, String deviceName, String osInfo, String hostingAppInfo)
os - the OS hosting the application under test or null if unknown.hostingApp - the application hosting the application under test or null if unknown.displaySize - the display size of the application or null if unknown.deviceName - specifiesosInfo - the os infohostingAppInfo - the hosting app infopublic String getInferred()
null if no information could be inferred.public void setInferred(String inferred)
inferred - - the inferred environment information.public String getOs()
null if unknown.public void setOs(String os)
os - - the OS hosting the application under test or null if unknown.public String getHostingApp()
null if unknown.public void setHostingApp(String hostingApp)
hostingApp - - the application hosting the application under test or null if unknown.public com.applitools.eyes.RectangleSize getDisplaySize()
null if unknown.public void setDisplaySize(com.applitools.eyes.RectangleSize size)
size - - the display size of the application or null if unknown.public String getDeviceInfo()
public void setDeviceInfo(String deviceInfo)
deviceInfo - the device infopublic String getOsInfo()
public void setOsInfo(String osInfo)
osInfo - the os infopublic String getHostingAppInfo()
public void setHostingAppInfo(String hostingAppInfo)
hostingAppInfo - the hosting appCopyright © 2023. All rights reserved.