package dev.openfeature.javasdk; public interface BaseEvaluation { /** * Returns the resolved value of the evaluation. * @return {T} the resolve value */ T getValue(); /** * Returns an identifier for this value, if applicable. * @return {String} value identifier */ String getVariant(); /** * Describes how we came to the value that we're returning. * @return {Reason} */ Reason getReason(); /** * The error code, if applicable. Should only be set when the Reason is ERROR. * @return {ErrorCode} */ String getErrorCode(); }