ConfigurationFactory.ConfigId

static class ConfigurationFactory.ConfigId
extends Object

java.lang.Object
   ↳ com.android.tradefed.config.ConfigurationFactory.ConfigId


A simple struct-like class that stores a configuration's name alongside the arguments for any <template-include> tags it may contain. Because the actual bits stored by the configuration may vary with template arguments, they must be considered as essential a part of the configuration's identity as the filename.

Summary

Fields

public String name

public Map<String, String> templateMap

Public constructors

ConfigurationFactory.ConfigId()

No-op constructor

ConfigurationFactory.ConfigId(String name)

Convenience constructor.

ConfigurationFactory.ConfigId(String name, Map<String, String> templateMap)

Two-arg convenience constructor.

Public methods

boolean equals(Object other)

int hashCode()

Fields

name

String name

templateMap

Map<String, String> templateMap

Public constructors

ConfigurationFactory.ConfigId

ConfigurationFactory.ConfigId ()

No-op constructor

ConfigurationFactory.ConfigId

ConfigurationFactory.ConfigId (String name)

Convenience constructor. Equivalent to calling two-arg constructor with null templateMap.

Parameters
name String

ConfigurationFactory.ConfigId

ConfigurationFactory.ConfigId (String name, 
                Map<String, String> templateMap)

Two-arg convenience constructor. templateMap may be null.

Parameters
name String

templateMap Map

Public methods

equals

boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

int hashCode ()

Returns
int