Class WrapperInfoBuilder


  • public abstract class WrapperInfoBuilder
    extends java.lang.Object
    Contains methods for configuring wrapper information.

    This builder is primarily intended for use by LaunchDarkly in developing wrapper SDKs.

    If the WrapperBuilder is used, then it will replace the wrapper information from the HttpPropertiesBuilder. Additionally, any wrapper SDK may overwrite any application developer provided wrapper information.

    • Field Detail

      • wrapperName

        protected java.lang.String wrapperName
      • wrapperVersion

        protected java.lang.String wrapperVersion
    • Constructor Detail

      • WrapperInfoBuilder

        public WrapperInfoBuilder()
    • Method Detail

      • wrapperName

        public WrapperInfoBuilder wrapperName​(java.lang.String wrapperName)
        Set the name of the wrapper.
        Parameters:
        wrapperName - the name of the wrapper
        Returns:
        the builder
      • wrapperVersion

        public WrapperInfoBuilder wrapperVersion​(java.lang.String wrapperVersion)
        Set the version of the wrapper.

        This information will not be used unless the wrapperName is also set.

        Parameters:
        wrapperVersion - the version of the wrapper
        Returns:
        the builder