to top
package

com.android.tradefed.command

Interfaces

CommandFileWatcher.ICommandFileListener  
ICommandListener Callback for command added to CommandScheduler
ICommandOptions Container for execution options for commands. 
ICommandScheduler A scheduler for running TradeFederation commands. 
ICommandScheduler.IScheduledInvocationListener Listener for invocation events when invocation completes. 

Classes

CommandFileParser Parser for file that contains set of command lines. 
CommandFileParser.Bitmask Represents a bitmask. 
CommandFileParser.CommandLine  
CommandFileWatcher A simple class to watch a set of command files for changes, and to trigger a reload of _all_ manually-loaded command files when such a change happens. 
CommandFileWatcher.CommandFile A simple struct to store a command file as well as its extra args  
CommandOptions Implementation of ICommandOptions
CommandRunner An alternate TradeFederation entry point that will run command specified in command line arguments and then quit. 
CommandScheduler A scheduler for running TradeFederation commands across all available devices. 
CommandScheduler.CommandTracker Represents one active command added to the scheduler. 
CommandScheduler.CommandTrackerIdComparator Comparator for CommandScheduler.CommandTracker
Console Main TradeFederation console providing user with the interface to interact

Currently supports operations such as

  • add a command to test
  • list devices and their state
  • list invocations in progress
  • list commands in queue
  • dump invocation log to file/stdout
  • shutdown
 
Console.ArgRunnable<T> A Runnable with a run method that can take an argument  
Console.CaptureList A convenience type for List<List<String>>  

Exceptions

FatalHostError An exception that indicates a fatal unrecoverable error has occurred on the host machine running TradeFederation, and that the TradeFederation instance should be shut down.