Google is committed to advancing racial equity for Black communities. See how.

IModuleController

public interface IModuleController

com.android.tradefed.testtype.suite.module.IModuleController


Interface for controlling if a module should be executed or not.

Summary

Nested classes

enum IModuleController.RunStrategy

Enum describing how the module should be executed. 

Public methods

abstract IModuleController.RunStrategy shouldRunModule(IInvocationContext context)

Method to determine if a module should run or not.

Public methods

shouldRunModule

public abstract IModuleController.RunStrategy shouldRunModule (IInvocationContext context)

Method to determine if a module should run or not.

Parameters
context IInvocationContext: the IInvocationContext of the module.

Returns
IModuleController.RunStrategy True if the module should run, false otherwise.