Package com.facilita.fc.eggPlant
Class ConnectionInfo
- java.lang.Object
-
- com.facilita.fc.eggPlant.ConnectionInfo
-
public class ConnectionInfo extends java.lang.ObjectRepresents a connection property list created by eggPlant.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringAvailability()The last-known availability status of the SUT.booleanBonjour()Whether or not the SUT was found via Bonjour or zeroconf.intColorDepth()The color depth with which the SUT is shown in the Viewer window.booleanConnected()Whether or not Eggplant is connected to the SUT..java.lang.StringDeviceManufacturer()The manufacturer of a mobile device you are connected to.java.lang.StringDeviceModel()The manufacturer of a mobile device you are connected to.booleanDeviceSupportsPointerEvents()Whether or not a mobile device supports pointer events such as MoveTo..java.lang.StringDeviceVersion()The version of the mobile device you are connected to.java.lang.Objectget(java.lang.String key)Gets the Object in the connection property list with a particular key.java.lang.StringName()Gets the name of the connection.java.lang.StringPass_code()The password for the VNC server, encrypted.intPortNum()The port number used by the VNC server on the SUT.booleanReverse()Whether or not the VNC connection is a reverse connection (i.e.SizeScreenSize()The width and height of the SUT screen.java.lang.StringServerID()The host name, IP address, or display name of the SUT.java.lang.StringsshHost()The host name or IP of a computer hosting an SSH connection.java.lang.StringsshPass_code()The password to the user account on the SSH server, encrypted.java.lang.StringsshUser()The user account on the SSH host.java.lang.StringStatus()Whether or not Eggplant is connected to the SUT.booleanVisible()Whether or not Eggplant is connected to the SUT.
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String key)
Gets the Object in the connection property list with a particular key.- Parameters:
key- the key- Returns:
- the object
-
Name
public java.lang.String Name()
Gets the name of the connection.- Returns:
- The name of the connection
-
Status
public java.lang.String Status()
Whether or not Eggplant is connected to the SUT. ("Connected" or "Not Connected").- Returns:
- "Connected" or "Not Connected"
-
Connected
public boolean Connected()
Whether or not Eggplant is connected to the SUT..- Returns:
- true, if Eggplant is connected to the SUT.
-
Visible
public boolean Visible()
Whether or not Eggplant is connected to the SUT.- Returns:
- Whether or not Eggplant is connected to the SUT.
-
ColorDepth
public int ColorDepth()
The color depth with which the SUT is shown in the Viewer window.- Returns:
- 8, 16 or 32
-
Bonjour
public boolean Bonjour()
Whether or not the SUT was found via Bonjour or zeroconf.- Returns:
- Whether or not the SUT was found via Bonjour or zeroconf.
-
Availability
public java.lang.String Availability()
The last-known availability status of the SUT.- Returns:
- The last-known availability status of the SUT.
-
ServerID
public java.lang.String ServerID()
The host name, IP address, or display name of the SUT.- Returns:
- The host name, IP address, or display name of the SUT.
-
Reverse
public boolean Reverse()
Whether or not the VNC connection is a reverse connection (i.e. initiated by the SUT).- Returns:
- Whether or not the VNC connection is a reverse connection (i.e. initiated by the SUT).
-
ScreenSize
public Size ScreenSize() throws BadValueException
The width and height of the SUT screen.- Returns:
- the screen size
- Throws:
BadValueException- the screen size was not in the expected format
-
PortNum
public int PortNum()
The port number used by the VNC server on the SUT.- Returns:
- the port number
-
DeviceManufacturer
public java.lang.String DeviceManufacturer()
The manufacturer of a mobile device you are connected to. (This property is only included if the VNC server sends the information.)- Returns:
- the device manufacturer, or null if not sent
-
DeviceModel
public java.lang.String DeviceModel()
The manufacturer of a mobile device you are connected to. (This property is only included if the VNC server sends the information.)- Returns:
- the device model, or null if not sent
-
DeviceSupportsPointerEvents
public boolean DeviceSupportsPointerEvents()
Whether or not a mobile device supports pointer events such as MoveTo..- Returns:
- Whether or not a mobile device supports pointer events such as MoveTo..
-
DeviceVersion
public java.lang.String DeviceVersion()
The version of the mobile device you are connected to. (This property is only included if the VNC server sends the information.)- Returns:
- the device version, or null if not sent
-
Pass_code
public java.lang.String Pass_code()
The password for the VNC server, encrypted.- Returns:
- The password for the VNC server, encrypted.
-
sshHost
public java.lang.String sshHost()
The host name or IP of a computer hosting an SSH connection.- Returns:
- The host name or IP of a computer hosting an SSH connection.
-
sshPass_code
public java.lang.String sshPass_code()
The password to the user account on the SSH server, encrypted.- Returns:
- The password to the user account on the SSH server, encrypted.
-
sshUser
public java.lang.String sshUser()
The user account on the SSH host.- Returns:
- The user account on the SSH host.
-
-