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

io.getunleash.FeatureEvaluationResult Maven / Gradle / Ivy

The newest version!
package io.getunleash;

import io.getunleash.lang.Nullable;

public class FeatureEvaluationResult {
    private boolean enabled;

    private Variant variant;

    public FeatureEvaluationResult() {}

    public FeatureEvaluationResult(boolean enabled, @Nullable Variant variant) {
        this.enabled = enabled;
        this.variant = variant;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    @Nullable
    public Variant getVariant() {
        return variant;
    }

    public void setVariant(Variant variant) {
        this.variant = variant;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy