Class ConfigItem
java.lang.Object
com.gooddata.sdk.model.hierarchicalconfig.ConfigItem
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfigItem(String key, String value) Creates new config item with given key/name and value. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetKey()Get unique key/name of config item.com.gooddata.sdk.model.hierarchicalconfig.ConfigItem.LinksgetLinks()getName()Get unique key/name of config item.Conversion method from source to SourceType enum.getUri()getValue()inthashCode()booleanConversion method from String to Boolean type.voidsetEnabled(Boolean value) voidtoString()
-
Field Details
-
CLIENT_CONFIG_ITEM_URI
-
DATA_PRODUCT_CONFIG_ITEM_URI
-
SEGMENT_CONFIG_ITEM_URI
-
DOMAIN_CONFIG_ITEM_URI
-
PROJECT_CONFIG_ITEM_URI
-
PROJECT_GROUP_CONFIG_ITEM_URI
-
-
Constructor Details
-
ConfigItem
Creates new config item with given key/name and value.- Parameters:
key- unique key/name of config itemvalue- value of config item
-
-
Method Details
-
getKey
Get unique key/name of config item. The same asgetName(). -
getName
Get unique key/name of config item. The same asgetKey(). -
getValue
-
getSource
-
getLinks
public com.gooddata.sdk.model.hierarchicalconfig.ConfigItem.Links getLinks() -
setValue
-
isEnabled
public boolean isEnabled()Conversion method from String to Boolean type.- Returns:
- returns converted value: true or false
-
setEnabled
-
getSourceType
Conversion method from source to SourceType enum.- Returns:
- returns SourceType or null, if source is not recognized
-
getUri
-
equals
-
hashCode
public int hashCode() -
toString
-