no.finn.unleash.ActivationStrategy 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.Collections;
import java.util.List;
import java.util.Map;
public final class ActivationStrategy {
private final String name;
private final Map parameters;
private final List constraints;
public ActivationStrategy(String name, Map parameters) {
this(name, parameters, Collections.emptyList());
}
public ActivationStrategy(String name, Map parameters, List constraints) {
this.name = name;
this.parameters = parameters;
this.constraints = constraints;
}
public String getName() {
return name;
}
public Map getParameters() {
return parameters;
}
public List getConstraints() {
return constraints;
}
}