All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.atlassian.bamboo.specs.util.BambooYamlWithIncludesConstructor Maven / Gradle / Ivy

There is a newer version: 10.1.0
Show newest version
package com.atlassian.bamboo.specs.util;

import org.yaml.snakeyaml.LoaderOptions;
import org.yaml.snakeyaml.nodes.Tag;

import java.nio.file.Path;

class BambooYamlWithIncludesConstructor extends BambooYamlConstructor {

    static final String INCLUDE_TAG = "!include";

    BambooYamlWithIncludesConstructor(final int maxDepth, final int depth, final Path parentPath, LoaderOptions loadingConfig) {
        super(loadingConfig);
        this.yamlConstructors.put(new Tag(INCLUDE_TAG), new IncludeTag(maxDepth, depth, parentPath));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy