Project CASUAL
API for CASUAL
 All Classes Namespaces Functions Variables
Classes | Public Member Functions | List of all members
CASUAL.communicationstools.heimdall.HeimdallTools Class Reference
Inheritance diagram for CASUAL.communicationstools.heimdall.HeimdallTools:
CASUAL.communicationstools.AbstractDeviceCommunicationsProtocol CASUAL.communicationstools.AbstractDeviceCommunicationsProtocol

Classes

enum  CommandDisposition
 

Public Member Functions

int numberOfDevicesConnected ()
 
boolean checkErrorMessage (String[] commandRun, String returnValue)
 
boolean installDriver ()
 
String deployBinary (String tempFolder)
 
void restartConnection ()
 
void reset ()
 
void shutdown ()
 
String getConnectionMethodName ()
 
synchronized String getBinaryLocation ()
 
String doHeimdallShellCommand (String[] command)
 
int numberOfDevicesConnected ()
 
boolean checkErrorMessage (String[] commandRun, String returnValue)
 
boolean installDriver ()
 
String deployBinary (String tempFolder)
 
void restartConnection ()
 
void reset ()
 
void shutdown ()
 
String getConnectionMethodName ()
 
synchronized String getBinaryLocation ()
 
String doHeimdallShellCommand (String[] command)
 
- Public Member Functions inherited from CASUAL.communicationstools.AbstractDeviceCommunicationsProtocol
abstract int numberOfDevicesConnected ()
 
abstract boolean checkErrorMessage (String[] commandRun, String returnValue)
 
abstract boolean installDriver ()
 
abstract String deployBinary (String tempFolder)
 
abstract void restartConnection ()
 
abstract void reset ()
 
abstract void shutdown ()
 
abstract String getBinaryLocation ()
 
boolean isConnected ()
 
void waitForDevice ()
 
String run (String[] parameters, int timeout, boolean silent)
 
boolean fileIsDeployedProperly (String binaryLocation)
 
abstract String getConnectionMethodName ()
 
String toString ()
 
abstract int numberOfDevicesConnected ()
 
abstract boolean checkErrorMessage (String[] commandRun, String returnValue)
 
abstract boolean installDriver ()
 
abstract String deployBinary (String tempFolder)
 
abstract void restartConnection ()
 
abstract void reset ()
 
abstract void shutdown ()
 
abstract String getBinaryLocation ()
 
boolean isConnected ()
 
void waitForDevice ()
 
String run (String[] parameters, int timeout, boolean silent)
 
boolean fileIsDeployedProperly (String binaryLocation)
 
abstract String getConnectionMethodName ()
 
String toString ()
 

Detailed Description

Provides tools to work with Heimdall in CASUAL.

Author
Adam Outler adamo.nosp@m.utle.nosp@m.r@gma.nosp@m.il.c.nosp@m.om
Jeremy Loper jrlop.nosp@m.er@g.nosp@m.mail..nosp@m.com

Member Function Documentation

boolean CASUAL.communicationstools.heimdall.HeimdallTools.checkErrorMessage ( String[]  commandRun,
String  returnValue 
)

obtains a CommandDisposition by analyzing the return value. Takes action based on disposition.

Returns
boolean CASUAL.communicationstools.heimdall.HeimdallTools.checkErrorMessage ( String[]  commandRun,
String  returnValue 
)

obtains a CommandDisposition by analyzing the return value. Takes action based on disposition.

Returns
String CASUAL.communicationstools.heimdall.HeimdallTools.deployBinary ( String  tempFolder)

Heimdall will only return one device or 0.

Returns
String CASUAL.communicationstools.heimdall.HeimdallTools.deployBinary ( String  tempFolder)

Heimdall will only return one device or 0.

Returns
String CASUAL.communicationstools.heimdall.HeimdallTools.doHeimdallShellCommand ( String[]  command)

performs a heimdall command

Parameters
commandvalue from heimdall command
Returns
return from shell command
String CASUAL.communicationstools.heimdall.HeimdallTools.doHeimdallShellCommand ( String[]  command)

performs a heimdall command

Parameters
commandvalue from heimdall command
Returns
return from shell command
boolean CASUAL.communicationstools.heimdall.HeimdallTools.installDriver ( )
Returns
boolean CASUAL.communicationstools.heimdall.HeimdallTools.installDriver ( )
Returns
int CASUAL.communicationstools.heimdall.HeimdallTools.numberOfDevicesConnected ( )

Heimdall will only return one device or 0.

Returns
int CASUAL.communicationstools.heimdall.HeimdallTools.numberOfDevicesConnected ( )

Heimdall will only return one device or 0.

Returns

The documentation for this class was generated from the following file: