to top
public interface

ICommandOptions

com.android.tradefed.command.ICommandOptions
Known Indirect Subclasses

Class Overview

Container for execution options for commands.

Summary

Public Methods
abstract ICommandOptions clone()
Creates a copy of the ICommandOptions object.
abstract long getLoopTime()
Get the time to wait before re-scheduling this command.
abstract long getMinLoopTime()
This method is deprecated. use getLoopTime() instead
abstract boolean isDryRunMode()
Return true if we should skip adding this command to the queue.
abstract boolean isFullHelpMode()
Returns true if full detailed help mode has been requested
abstract boolean isHelpMode()
Returns true if abbreviated help mode has been requested
abstract boolean isLoopMode()
Return the loop mode for the config.
abstract boolean isNoisyDryRunMode()
Return true if we should print the command out to the console before we skip adding it to the queue.
abstract boolean runOnAllDevices()
Return true if command should run on all devices.
abstract void setLoopMode(boolean loopMode)
Sets the loop mode for the command
abstract boolean takeBugreportOnInvocationEnded()
Return true if a bugreport should be taken when the test invocation has ended.

Public Methods

public abstract ICommandOptions clone ()

Creates a copy of the ICommandOptions object.

public abstract long getLoopTime ()

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

Returns
  • time in ms

public abstract long getMinLoopTime ()

This method is deprecated.
use getLoopTime() instead

Get the min loop time for the config.

public abstract boolean isDryRunMode ()

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

public abstract boolean isFullHelpMode ()

Returns true if full detailed help mode has been requested

public abstract boolean isHelpMode ()

Returns true if abbreviated help mode has been requested

public abstract boolean isLoopMode ()

Return the loop mode for the config.

public abstract boolean isNoisyDryRunMode ()

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

public abstract boolean runOnAllDevices ()

Return true if command should run on all devices.

public abstract void setLoopMode (boolean loopMode)

Sets the loop mode for the command

public abstract boolean takeBugreportOnInvocationEnded ()

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