cloud.eppo.FlagEvaluationResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-common-jvm Show documentation
Show all versions of sdk-common-jvm Show documentation
Eppo SDK for JVM shared library
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;
}
}