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

com.nike.moirai.FeatureFlagChecker Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
package com.nike.moirai;

/**
 * A FeatureFlagChecker allows checking of some feature (identified by a String) is enabled for some {@link FeatureCheckInput}.
 */
public interface FeatureFlagChecker {
    /**
     * Checks if the feature should be enabled given the provided input
     *
     * @param featureIdentifier the identifier of the feature to check on
     * @param featureCheckInput the input dimensions to base a decision on
     * @return whether the feature should be enabled
     */
    boolean isFeatureEnabled(String featureIdentifier, FeatureCheckInput featureCheckInput);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy