kz.greetgo.conf.hot.HotConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of greetgo.conf Show documentation
Show all versions of greetgo.conf Show documentation
Configuration library using in greetgo!
package kz.greetgo.conf.hot;
/**
* Hot config defined by {@link HotConfigDefinition}
*/
public interface HotConfig {
/**
* Takes value of config element
*
* @param elementName config element name
* @return config element value
*/
T getElementValue(String elementName);
/**
* Check existence of config element
*
* @param elementName config element name
* @return true
- element exists, otherwise - does not
*/
boolean isElementExists(String elementName);
/**
* Returns config location
*
* @return config location
*/
String location();
/**
* Returns config interface class
*
* @return config interface class
*/
Class> configInterface();
}