Interface ConfigurationImportSupport

  • All Known Implementing Classes:
    DefaultConfigurationImportSupport

    public interface ConfigurationImportSupport
    An interface for tooling classes that helps resolving Import tags in configuration files.
    • Method Detail

      • resolveImports

        <C> C resolveImports​(C root,
                             ConfigurationInterpreter<C> interpreter)
                      throws java.io.IOException
        Resolves all imports defined in specified root configuration. All nested imports are also resolved.
        Type Parameters:
        C - type of configuration root
        Parameters:
        root - root configuration, which imports are to be resolved
        interpreter - an object capable of extracting information from configuration and modifying it
        Returns:
        root configuration merged with all imported onces
        Throws:
        java.io.IOException