Class PropertiesBuilderParametersImpl

    • Field Detail

      • PROP_INCLUDE_LISTENER

        private static final java.lang.String PROP_INCLUDE_LISTENER
        The key for the include listener property.
        See Also:
        Constant Field Values
      • PROP_INCLUDES_ALLOWED

        private static final java.lang.String PROP_INCLUDES_ALLOWED
        The key for the includes allowed property.
        See Also:
        Constant Field Values
      • PROP_LAYOUT

        private static final java.lang.String PROP_LAYOUT
        The key for the layout property.
        See Also:
        Constant Field Values
      • PROP_IO_FACTORY

        private static final java.lang.String PROP_IO_FACTORY
        The key for the IO factory property.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PropertiesBuilderParametersImpl

        public PropertiesBuilderParametersImpl()
    • Method Detail

      • inheritFrom

        public void inheritFrom​(java.util.Map<java.lang.String,​?> source)
        Inherits properties from the specified map. This can be used for instance to reuse parameters from one builder in another builder - also in parent-child relations in which a parent builder creates child builders. The purpose of this method is to let a concrete implementation decide which properties can be inherited. Because parameters are basically organized as a map it would be possible to simply copy over all properties from the source object. However, this is not appropriate in all cases. For instance, some properties - like a ConfigurationInterpolator - are tightly connected to a configuration and cannot be reused in a different context. For other properties, e.g. a file name, it does not make sense to copy it. Therefore, an implementation has to be explicit in the properties it wants to take over. This implementation takes some properties defined in this class into account. This implementation takes some more properties into account that are defined in this class.
        Overrides:
        inheritFrom in class FileBasedBuilderParametersImpl
        Parameters:
        source - the source properties to inherit from