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 isJsonHelpMode()
Returns true if full json 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.

Returns
ICommandOptions

public abstract long getLoopTime ()

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

Returns
long time in ms

public abstract long getMinLoopTime ()

This method is deprecated.
use getLoopTime() instead

Get the min loop time for the config.

Returns
long

public abstract boolean isDryRunMode ()

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

Returns
boolean

public abstract boolean isFullHelpMode ()

Returns true if full detailed help mode has been requested

Returns
boolean

public abstract boolean isHelpMode ()

Returns true if abbreviated help mode has been requested

Returns
boolean

public abstract boolean isJsonHelpMode ()

Returns true if full json help mode has been requested

Returns
boolean

public abstract boolean isLoopMode ()

Return the loop mode for the config.

Returns
boolean

public abstract boolean isNoisyDryRunMode ()

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

Returns
boolean

public abstract boolean runOnAllDevices ()

Return true if command should run on all devices.

Returns
boolean

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.

Returns
boolean