Class RemoteEvalOptionsValidator

java.lang.Object
growthbook.sdk.java.remoteeval.RemoteEvalOptionsValidator

public final class RemoteEvalOptionsValidator extends Object
Validates SDK options before enabling remote evaluation.
  • Method Details

    • validate

      public static void validate(Options options)
    • validate

      public static void validate(GBContext context)
    • remoteEvalViolations

      public static List<String> remoteEvalViolations(@Nullable Options options)
      Returns the remote-eval specific incompatibilities for the supplied options.

      Intended for callers that already validate apiHost/clientKey presence generally (e.g. OptionsValidator); this method therefore excludes those checks to avoid duplicate messages and reports only constraints unique to remote evaluation.

      Parameters:
      options - client options to inspect; null or non remote-eval yields an empty list
      Returns:
      an immutable list of human-readable problem descriptions, empty when valid