ConfigurationDescriptor

public class ConfigurationDescriptor
extends Object implements Serializable

java.lang.Object
   ↳ com.android.tradefed.config.ConfigurationDescriptor


Configuration Object that describes some aspect of the configuration itself. Like a membership test-suite-tag. This class cannot receive option values via command line. Only directly in the xml.

Summary

Public constructors

ConfigurationDescriptor()

Public methods

IAbi getAbi()

Returns the abi the configuration is running against if known, null otherwise.

MultiMap<String, String> getAllMetaData()

Retrieves all configured metadata

List<String> getMetaData(String name)

Get the named metadata entries

List<String> getSuiteTags()

Returns the list of suite tags the test is part of.

boolean isNotShardable()

Returns if the configuration is shardable or not as part of a suite

boolean isNotStrictShardable()

Returns if the configuration is strict shardable or not as part of a suite

void setAbi(IAbi abi)

Sets the abi the configuration is going to run against.

void setMetaData(MultiMap<String, String> metadata)
void setSuiteTags(List<String> suiteTags)

Sets the list of suite tags the test is part of.

Public constructors

ConfigurationDescriptor

ConfigurationDescriptor ()

Public methods

getAbi

IAbi getAbi ()

Returns the abi the configuration is running against if known, null otherwise.

Returns
IAbi

getAllMetaData

MultiMap<String, String> getAllMetaData ()

Retrieves all configured metadata

Returns
MultiMap<String, String>

getMetaData

List<String> getMetaData (String name)

Get the named metadata entries

Parameters
name String

Returns
List<String>

getSuiteTags

List<String> getSuiteTags ()

Returns the list of suite tags the test is part of.

Returns
List<String>

isNotShardable

boolean isNotShardable ()

Returns if the configuration is shardable or not as part of a suite

Returns
boolean

isNotStrictShardable

boolean isNotStrictShardable ()

Returns if the configuration is strict shardable or not as part of a suite

Returns
boolean

setAbi

void setAbi (IAbi abi)

Sets the abi the configuration is going to run against.

Parameters
abi IAbi

setMetaData

void setMetaData (MultiMap<String, String> metadata)

Parameters
metadata MultiMap

setSuiteTags

void setSuiteTags (List<String> suiteTags)

Sets the list of suite tags the test is part of.

Parameters
suiteTags List