to top
public class

CommandOptions

extends Object
implements ICommandOptions
java.lang.Object
   ↳ com.android.tradefed.command.CommandOptions

Class Overview

Implementation of ICommandOptions.

Summary

Public Constructors
CommandOptions()
Public Methods
ICommandOptions clone()
long getLoopTime()
Get the time to wait before re-scheduling this command.
long getMinLoopTime()
Get the min loop time for the config.
boolean isDryRunMode()
Return true if we should skip adding this command to the queue.
boolean isFullHelpMode()
Returns true if full detailed help mode has been requested
boolean isHelpMode()
Returns true if abbreviated help mode has been requested
boolean isLoopMode()
Return the loop mode for the config.
boolean isNoisyDryRunMode()
Return true if we should print the command out to the console before we skip adding it to the queue.
boolean runOnAllDevices()
Return true if command should run on all devices.
void setLoopMode(boolean loopMode)
Set the loop mode for the config.
boolean takeBugreportOnInvocationEnded()
Return true if a bugreport should be taken when the test invocation has ended.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.android.tradefed.command.ICommandOptions

Public Constructors

public CommandOptions ()

Public Methods

public ICommandOptions clone ()

public long getLoopTime ()

Get the time to wait before re-scheduling this command.

Returns
  • time in ms

public long getMinLoopTime ()

Get the min loop time for the config.

public boolean isDryRunMode ()

Return true if we should skip adding this command to the queue.

public boolean isFullHelpMode ()

Returns true if full detailed help mode has been requested

public boolean isHelpMode ()

Returns true if abbreviated help mode has been requested

public boolean isLoopMode ()

Return the loop mode for the config.

public boolean isNoisyDryRunMode ()

Return true if we should print the command out to the console before we skip adding it to the queue.

public boolean runOnAllDevices ()

Return true if command should run on all devices.

public void setLoopMode (boolean loopMode)

Set the loop mode for the config.

public boolean takeBugreportOnInvocationEnded ()

Return true if a bugreport should be taken when the test invocation has ended.