ParameterGroup

public final class ParameterGroup extends Object

Represents a Remote Config parameter group that can be included in a Template. Grouping parameters is only for management purposes and does not affect client-side fetching of parameter values.

Public Constructor Summary

ParameterGroup()
Creates a new ParameterGroup.

Public Method Summary

boolean
equals(Object o)
String
getDescription()
Gets the description of the parameter group.
Map<String, Parameter>
getParameters()
Gets the map of parameters that belong to this group.
int
ParameterGroup
setDescription(String description)
Sets the description of the parameter group.
ParameterGroup
setParameters(Map<String, Parameter> parameters)
Sets the map of parameters that belong to this group.

Inherited Method Summary

Public Constructors

public ParameterGroup ()

Creates a new ParameterGroup.

Public Methods

public boolean equals (Object o)

public String getDescription ()

Gets the description of the parameter group.

Returns
  • The description of the parameter or null.

public Map<String, Parameter> getParameters ()

Gets the map of parameters that belong to this group.

Returns
  • A non-null map of parameter keys to their optional default values and optional conditional values.

public int hashCode ()

public ParameterGroup setDescription (String description)

Sets the description of the parameter group. Should not be over 256 characters and may contain any Unicode characters.

Parameters
description The description of the parameter group.
Returns

public ParameterGroup setParameters (Map<String, Parameter> parameters)

Sets the map of parameters that belong to this group.

A parameter only appears once per Remote Config template. An ungrouped parameter appears at the top level, whereas a parameter organized within a group appears within its group's map of parameters.

Parameters
parameters A non-null map of parameter keys to their optional default values and optional conditional values.
Returns