ConfigServiceImpl

public class ConfigServiceImpl implements ConfigService

See org.motechproject.sms.service.ConfigService

Constructors

ConfigServiceImpl

public ConfigServiceImpl(SettingsFacade settingsFacade, EventRelay eventRelay)

Methods

getConfig

public Config getConfig(String name)

getConfigList

public List<Config> getConfigList()

getConfigOrDefault

public Config getConfigOrDefault(String name)

getConfigs

public Configs getConfigs()

getDefaultConfig

public Config getDefaultConfig()

getServerUrl

public String getServerUrl()

handleFileChanged

public void handleFileChanged(MotechEvent event)

hasConfig

public boolean hasConfig(String name)

hasConfigs

public boolean hasConfigs()

updateConfigs

public void updateConfigs(Configs configs)