Class PropertiesPropertySource
- java.lang.Object
-
- org.togglz.spring.boot.actuate.autoconfigure.PropertiesPropertySource
-
- All Implemented Interfaces:
org.togglz.core.repository.property.PropertySource
public class PropertiesPropertySource extends Object implements org.togglz.core.repository.property.PropertySource
PropertySourceimplementation for use withProperties.- Author:
- Marcel Overdijk
-
-
Constructor Summary
Constructors Constructor Description PropertiesPropertySource(Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.togglz.core.repository.property.PropertySource.EditorgetEditor()Set<String>getKeysStartingWith(String prefix)StringgetValue(String key, String defaultValue)voidreloadIfUpdated()
-
-
-
Constructor Detail
-
PropertiesPropertySource
public PropertiesPropertySource(Properties properties)
-
-
Method Detail
-
reloadIfUpdated
public void reloadIfUpdated()
- Specified by:
reloadIfUpdatedin interfaceorg.togglz.core.repository.property.PropertySource
-
getKeysStartingWith
public Set<String> getKeysStartingWith(String prefix)
- Specified by:
getKeysStartingWithin interfaceorg.togglz.core.repository.property.PropertySource
-
getValue
public String getValue(String key, String defaultValue)
- Specified by:
getValuein interfaceorg.togglz.core.repository.property.PropertySource
-
getEditor
public org.togglz.core.repository.property.PropertySource.Editor getEditor()
- Specified by:
getEditorin interfaceorg.togglz.core.repository.property.PropertySource
-
-