ModuleParametersHelper

public final class ModuleParametersHelper
extends Object

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.params.ModuleParametersHelper


Helper to get the IModuleParameterHandler associated with the parameter.

Summary

Public constructors

ModuleParametersHelper()

Public methods

static resolveParam(ModuleParameters param, boolean withOptional)

Get the all ModuleParameters which are sub-params of a given ModuleParameters.

Public constructors

ModuleParametersHelper

public ModuleParametersHelper ()

Public methods

resolveParam

public static  resolveParam (ModuleParameters param, 
                boolean withOptional)

Get the all ModuleParameters which are sub-params of a given ModuleParameters.

This will recursively resolve sub-groups and will only return ModuleParameters which are not groups.

If param is not a group then a singleton set containing param will be returned itself, regardless of withOptional.

Parameters
param ModuleParameters

withOptional boolean: Whether or not to also check optional param groups.

Returns