org.springframework.boot.context.properties.bind

Interface BindContext



  • public interface BindContext
    Context information for use by BindHandlers.
    Since:
    2.0.0
    Author:
    Phillip Webb, Madhura Bhave
    • Method Detail

      • getBinder

        Binder getBinder()
        Return the source binder that is performing the bind operation.
        Returns:
        the source binder
      • getDepth

        int getDepth()
        Return the current depth of the binding. Root binding starts with a depth of 0. Each subsequent property binding increases the depth by 1.
        Returns:
        the depth of the current binding
      • getConfigurationProperty

        ConfigurationProperty getConfigurationProperty()
        Return the ConfigurationProperty actually being bound or null if the property has not yet been determined.
        Returns:
        the configuration property (may be null).

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.