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

no.finn.unleash.ActivationStrategy Maven / Gradle / Ivy

There is a newer version: 4.4.1
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy