Interface SettingKey

All Known Implementing Classes:
Setting

public interface SettingKey
A setting key for modifying configuration.

Configuration file is read from instancio.properties at the root of the classpath.

  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    Default value for this key.
    key()
    A key used in the properties file.
    Type of the property value.
  • Method Details

    • key

      String key()
      A key used in the properties file.
      Returns:
      property key
    • type

      Class<?> type()
      Type of the property value.
      Returns:
      value class
    • defaultValue

      <T> T defaultValue()
      Default value for this key.
      Type Parameters:
      T - type of the value
      Returns:
      default value