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

org.codeheadsystems.featureflag.manager.FeatureLookupManager Maven / Gradle / Ivy

There is a newer version: 1.0.8
Show newest version
package org.codeheadsystems.featureflag.manager;

import java.util.Optional;

/**
 * The interface Enablement lookup manager.
 */
public interface FeatureLookupManager {

  /**
   * Lookup feature.
   *
   * @param featureId the feature id
   * @return the feature percentage dialed up.
   */
  Optional lookupPercentage(String featureId);

  /**
   * Sets percentage.
   *
   * @param featureId  the feature id
   * @param percentage the percentage
   * @return the percentage
   */
  boolean setPercentage(String featureId, double percentage);

  /**
   * Delete percentage boolean.
   *
   * @param featureId the feature id
   */
  void deletePercentage(String featureId);

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy