Class ConfigItem

java.lang.Object
com.gooddata.sdk.model.hierarchicalconfig.ConfigItem

public class ConfigItem extends Object
Contains information about hierarchical configuration object aka platform setting aka feature flag. Purpose of config item is carrying information about some specific feature of Gooddata platform.
  • Field Details

    • CLIENT_CONFIG_ITEM_URI

      public static final String CLIENT_CONFIG_ITEM_URI
    • DATA_PRODUCT_CONFIG_ITEM_URI

      public static final String DATA_PRODUCT_CONFIG_ITEM_URI
    • SEGMENT_CONFIG_ITEM_URI

      public static final String SEGMENT_CONFIG_ITEM_URI
    • DOMAIN_CONFIG_ITEM_URI

      public static final String DOMAIN_CONFIG_ITEM_URI
    • PROJECT_CONFIG_ITEM_URI

      public static final String PROJECT_CONFIG_ITEM_URI
    • PROJECT_GROUP_CONFIG_ITEM_URI

      public static final String PROJECT_GROUP_CONFIG_ITEM_URI
  • Constructor Details

    • ConfigItem

      public ConfigItem(String key, String value)
      Creates new config item with given key/name and value.
      Parameters:
      key - unique key/name of config item
      value - value of config item
  • Method Details

    • getKey

      public String getKey()
      Get unique key/name of config item. The same as getName().
    • getName

      public String getName()
      Get unique key/name of config item. The same as getKey().
    • getValue

      public String getValue()
    • getSource

      public String getSource()
    • getLinks

      public com.gooddata.sdk.model.hierarchicalconfig.ConfigItem.Links getLinks()
    • setValue

      public void setValue(String value)
    • isEnabled

      public boolean isEnabled()
      Conversion method from String to Boolean type.
      Returns:
      returns converted value: true or false
    • setEnabled

      public void setEnabled(Boolean value)
    • getSourceType

      public SourceType getSourceType()
      Conversion method from source to SourceType enum.
      Returns:
      returns SourceType or null, if source is not recognized
    • getUri

      public String getUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object