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

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

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

import java.util.Objects;
import java.util.function.Supplier;

/**
 * Used by specs runner to get a reference to the yamlizator thread.
 */
public enum PrivilegedThreadRegistry implements Supplier {
    INSTANCE;

    @Override
    public Thread get() {
        return Objects.requireNonNull(IsolatedYamlizator.getThread());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy