io.getunleash.FeatureEvaluationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of unleash-client-java Show documentation
Show all versions of unleash-client-java Show documentation
A client library for Unleash
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;
}
}