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

org.zalando.riptide.Binding Maven / Gradle / Ivy

package org.zalando.riptide;

import javax.annotation.Nullable;

public final class Binding {

    private final A attribute;
    private final Route route;

    private Binding(@Nullable final A attribute, final Route route) {
        this.attribute = attribute;
        this.route = route;
    }

    @Nullable
    public A getAttribute() {
        return attribute;
    }

    public Route getRoute() {
        return route;
    }

    public static  Binding create(@Nullable final A attribute, final Route route) {
        return new Binding<>(attribute, route);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy