no.finn.unleash.FeatureToggle 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 no.finn.unleash;
import java.util.List;
public final class FeatureToggle {
private final String name;
private final boolean enabled;
private final List strategies;
public FeatureToggle(String name, boolean enabled, List strategies) {
this.name = name;
this.enabled = enabled;
this.strategies = strategies;
}
public String getName() {
return name;
}
public boolean isEnabled() {
return enabled;
}
public List getStrategies() {
return this.strategies;
}
@Override
public String toString() {
return "FeatureToggle{" +
"name='" + name + '\'' +
", enabled=" + enabled +
", strategies='" + strategies + '\'' +
'}';
}
}