Class ConfigItems

java.lang.Object
com.gooddata.sdk.model.hierarchicalconfig.ConfigItems
All Implemented Interfaces:
Iterable<ConfigItem>

public class ConfigItems extends Object implements Iterable<ConfigItem>
Contains collection of config items aka feature flags aka hierarchical config.
  • Field Details

    • CLIENT_CONFIG_ITEMS_URI

      public static final String CLIENT_CONFIG_ITEMS_URI
    • DATA_PRODUCT_CONFIG_ITEMS_URI

      public static final String DATA_PRODUCT_CONFIG_ITEMS_URI
    • SEGMENT_CONFIG_ITEMS_URI

      public static final String SEGMENT_CONFIG_ITEMS_URI
    • DOMAIN_CONFIG_ITEMS_URI

      public static final String DOMAIN_CONFIG_ITEMS_URI
    • PROJECT_CONFIG_ITEMS_URI

      public static final String PROJECT_CONFIG_ITEMS_URI
    • PROJECT_GROUP_CONFIG_ITEMS_URI

      public static final String PROJECT_GROUP_CONFIG_ITEMS_URI
  • Constructor Details

  • Method Details

    • iterator

      public Iterator<ConfigItem> iterator()
      Specified by:
      iterator in interface Iterable<ConfigItem>
    • getValue

      public String getValue(String configName)
      Returns value if config item exists, otherwise returns null.
      Parameters:
      configName - the name/key of the config item
      Returns:
      value if config item with given name/key exists, null otherwise
    • isEnabled

      public boolean isEnabled(String configName)
      Returns true if the config item with given name/key exists and is enabled, false otherwise.
      Parameters:
      configName - the name/key of config item
      Returns:
      true if the config item with given name/key exists and is enabled, false otherwise
    • toString

      public String toString()
      Overrides:
      toString in class Object