All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kz.greetgo.conf.hot.HotConfig Maven / Gradle / Ivy

There is a newer version: 2.0.5
Show newest version
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();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy