Interface Setting<T>


  • public interface Setting<T>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface Description
      static interface  Setting.Builder<T>  
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.util.List<org.neo4j.configuration.SettingConstraint<T>> constraints()  
      java.util.function.Function<Setting<T>,​org.neo4j.graphdb.config.Setting<T>> convert()  
      T defaultValue()  
      java.util.Optional<org.neo4j.graphdb.config.Setting<T>> dependency()
      A setting dependency is used to inherit missing parts of this setting by whatever is set for the dependency setting.
      default boolean dynamic()
      Make this setting dynamic.
      default boolean immutable()
      Make this setting immutable.
      java.lang.String name()  
      org.neo4j.configuration.SettingValueParser<T> parser()  
    • Method Detail

      • name

        @Parameter
        java.lang.String name()
      • parser

        @Parameter
        org.neo4j.configuration.SettingValueParser<T> parser()
      • defaultValue

        @Parameter
        @Nullable
        T defaultValue()
      • dynamic

        @Default
        default boolean dynamic()
        Make this setting dynamic. A dynamic setting can be modified by the user through the 'dbms.setConfigValue' procedure.
      • immutable

        @Default
        default boolean immutable()
        Make this setting immutable.
      • constraints

        java.util.List<org.neo4j.configuration.SettingConstraint<T>> constraints()
      • dependency

        java.util.Optional<org.neo4j.graphdb.config.Setting<T>> dependency()
        A setting dependency is used to inherit missing parts of this setting by whatever is set for the dependency setting. For example, for relative paths, this could be the root directory; for a socket addresses, it could be the host or the port.
      • convert

        java.util.function.Function<Setting<T>,​org.neo4j.graphdb.config.Setting<T>> convert()