Class YamlResourceLoader

    • Constructor Detail

      • YamlResourceLoader

        public YamlResourceLoader​(java.io.InputStream yamlInput,
                                  java.net.URI source,
                                  java.util.Properties properties)
                           throws java.io.UncheckedIOException
        Load a declarative recipe using the runtime classloader
        Parameters:
        yamlInput - Declarative recipe yaml input stream
        source - Declarative recipe source
        properties - Placeholder properties
        Throws:
        java.io.UncheckedIOException - On unexpected IOException
      • YamlResourceLoader

        public YamlResourceLoader​(java.io.InputStream yamlInput,
                                  java.net.URI source,
                                  java.util.Properties properties,
                                  @Nullable
                                  @Nullable java.lang.ClassLoader classLoader)
                           throws java.io.UncheckedIOException
        Load a declarative recipe, optionally using the specified classloader
        Parameters:
        yamlInput - Declarative recipe yaml input stream
        source - Declarative recipe source
        properties - Placeholder properties
        classLoader - Optional classloader to use with jackson. If not specified, the runtime classloader will be used.
        Throws:
        java.io.UncheckedIOException - On unexpected IOException