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,
RectangleSize displaySize)
Creates a new AppEnvironment instance.
|
| Modifier and Type | Method and Description |
|---|---|
RectangleSize |
getDisplaySize()
Gets the display size of the application or
null if unknown. |
String |
getHostingApp()
Gets the application hosting the application under test or
null
if unknown. |
String |
getInferred()
Gets the information inferred from the execution environment or
null if no
information could be inferred. |
String |
getOs()
Gets the OS hosting the application under test or
null if
unknown. |
void |
setDisplaySize(RectangleSize size)
Sets the display size of the application or
null if unknown. |
void |
setHostingApp(String hostingApp)
Sets the application hosting the application under test or
null
if unknown. |
void |
setInferred(String inferred)
Sets the inferred environment information.
|
void |
setOs(String os)
Sets the OS hosting the application under test or
null if
unknown. |
String |
toString() |
public AppEnvironment()
public AppEnvironment(String inferred)
public AppEnvironment(String os, String hostingApp, RectangleSize displaySize)
public String getInferred()
null if no
information could be inferred.public void setInferred(String inferred)
public String getOs()
null if
unknown.public void setOs(String os)
null if
unknown.public String getHostingApp()
null
if unknown.public void setHostingApp(String hostingApp)
null
if unknown.public RectangleSize getDisplaySize()
null if unknown.public void setDisplaySize(RectangleSize size)
null if unknown.Copyright © 2017. All rights reserved.