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

cloud.eppo.FlagEvaluationResult Maven / Gradle / Ivy

There is a newer version: 3.3.2
Show newest version
package cloud.eppo;

import cloud.eppo.api.Attributes;
import cloud.eppo.ufc.dto.Variation;
import java.util.Map;

public class FlagEvaluationResult {

  private final String flagKey;
  private final String subjectKey;
  private final Attributes subjectAttributes;
  private final String allocationKey;
  private final Variation variation;
  private final Map extraLogging;
  private final boolean doLog;

  public FlagEvaluationResult(
      String flagKey,
      String subjectKey,
      Attributes subjectAttributes,
      String allocationKey,
      Variation variation,
      Map extraLogging,
      boolean doLog) {
    this.flagKey = flagKey;
    this.subjectKey = subjectKey;
    this.subjectAttributes = subjectAttributes;
    this.allocationKey = allocationKey;
    this.variation = variation;
    this.extraLogging = extraLogging;
    this.doLog = doLog;
  }

  public String getFlagKey() {
    return flagKey;
  }

  public String getSubjectKey() {
    return subjectKey;
  }

  public Attributes getSubjectAttributes() {
    return subjectAttributes;
  }

  public String getAllocationKey() {
    return allocationKey;
  }

  public Variation getVariation() {
    return variation;
  }

  public Map getExtraLogging() {
    return extraLogging;
  }

  public boolean doLog() {
    return doLog;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy