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

io.getunleash.ActivationStrategy Maven / Gradle / Ivy

There is a newer version: 9.2.4
Show newest version
package io.getunleash;

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy