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

bt.BtClientBuilder Maven / Gradle / Ivy

There is a newer version: 1.10
Show newest version
package bt;

import bt.runtime.BtRuntime;

import java.util.Objects;

/**
 * Builds a client and attaches it to the provided runtime.
 *
 * @since 1.1
 */
public class BtClientBuilder extends BaseClientBuilder {

    static BtClientBuilder runtime(BtRuntime runtime) {
        return new BtClientBuilder(runtime);
    }

    private BtRuntime runtime;

    private BtClientBuilder(BtRuntime runtime) {
        this.runtime = Objects.requireNonNull(runtime, "Missing runtime");
    }

    @Override
    protected BtRuntime getRuntime() {
        return runtime;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy