FoldableHandler
public
class
FoldableHandler
extends Object
implements
IModuleParameterHandler
| java.lang.Object | |
| ↳ | com.android.tradefed.testtype.suite.params.FoldableHandler |
Generic foldable handler that can take the foldable parameters to create a specialized module.
Summary
Public constructors | |
|---|---|
FoldableHandler(String stateName, long identifier)
|
|
Public methods | |
|---|---|
void
|
addParameterSpecificConfig(IConfiguration moduleConfiguration)
Adds to |
void
|
applySetup(IConfiguration moduleConfiguration)
Apply to the module |
String
|
getParameterIdentifier()
Returns the name the parameterized module will be identified as. |
Public constructors
FoldableHandler
public FoldableHandler (String stateName,
long identifier)| Parameters | |
|---|---|
stateName |
String |
identifier |
long |
Public methods
addParameterSpecificConfig
public void addParameterSpecificConfig (IConfiguration moduleConfiguration)
Adds to IConfiguration with the parameter specific needs. For example, insert or
remove target preparers from configuration.
| Parameters | |
|---|---|
moduleConfiguration |
IConfiguration: the IConfiguration of the module |
applySetup
public void applySetup (IConfiguration moduleConfiguration)
Apply to the module IConfiguration the parameter specific module setup. For example,
this could be extra options for the preparers or the tests.
| Parameters | |
|---|---|
moduleConfiguration |
IConfiguration |
getParameterIdentifier
public String getParameterIdentifier ()
Returns the name the parameterized module will be identified as.
| Returns | |
|---|---|
String |
|