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 Detail

      • 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