-
public final class ResolutionDetails<T extends Object>Details about the resolution of a feature flag, aligned with the OpenFeature specification.
This structure contains the resolved flag value along with metadata about how the value was determined. It provides rich diagnostic information for debugging and analytics.
-
-
Field Summary
Fields Modifier and Type Field Description private final Tvalueprivate final Stringvariantprivate final ResolutionReasonreasonprivate final ErrorCodeerrorCodeprivate final StringerrorMessageprivate final Map<String, Object>flagMetadata
-
Constructor Summary
Constructors Constructor Description ResolutionDetails(T value, String variant, ResolutionReason reason, ErrorCode errorCode, String errorMessage, Map<String, Object> flagMetadata)
-
Method Summary
Modifier and Type Method Description final TgetValue()final StringgetVariant()final ResolutionReasongetReason()final ErrorCodegetErrorCode()final StringgetErrorMessage()final Map<String, Object>getFlagMetadata()-
-
Method Detail
-
getVariant
final String getVariant()
-
getReason
final ResolutionReason getReason()
-
getErrorCode
final ErrorCode getErrorCode()
-
getErrorMessage
final String getErrorMessage()
-
getFlagMetadata
final Map<String, Object> getFlagMetadata()
-
-
-
-