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

public String name

templateMap

public Map<String, String> templateMap

Public constructors

ConfigurationFactory.ConfigId

public ConfigurationFactory.ConfigId ()

No-op constructor

ConfigurationFactory.ConfigId

public ConfigurationFactory.ConfigId (String name)

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

Parameters
name String

ConfigurationFactory.ConfigId

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

Two-arg convenience constructor. templateMap may be null.

Parameters
name String

templateMap Map

Public methods

equals

public boolean equals (Object other)

Parameters
other Object

Returns
boolean

hashCode

public int hashCode ()

Returns
int