Package tech.muyan.api
Interface DynamicConfigService
- 
 public interface DynamicConfigServiceA service for getting DynamicConfig values.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StorageFieldValuegetAttachmentByKey(java.lang.String key)java.lang.StringgetByKey(java.lang.String key)Get the value of the DynamicConfig with key.java.lang.StringgetByKeyOrDefault(java.lang.String key, java.lang.String defaultValue)Get the value of the DynamicConfig with key or the default value if the key does not exist.
 
- 
- 
- 
Method Detail- 
getByKeyjava.lang.String getByKey(java.lang.String key) Get the value of the DynamicConfig with key.- Parameters:
- key- the key to get the DynamicConfig value for
- Returns:
- the value of the DynamicConfig with key
 
 - 
getByKeyOrDefaultjava.lang.String getByKeyOrDefault(java.lang.String key, java.lang.String defaultValue)Get the value of the DynamicConfig with key or the default value if the key does not exist.- Parameters:
- key- the key to get the DynamicConfig value for
- defaultValue- the default value to return if the key does not exist
- Returns:
- the value of the DynamicConfig with key or the default value if the key does not exist
 
 - 
getAttachmentByKeyStorageFieldValue getAttachmentByKey(java.lang.String key) 
 
- 
 
-