Class WrapperInfoBuilder
- java.lang.Object
-
- com.launchdarkly.sdk.server.integrations.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 Summary
Fields Modifier and Type Field Description protected java.lang.String
wrapperName
protected java.lang.String
wrapperVersion
-
Constructor Summary
Constructors Constructor Description WrapperInfoBuilder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract WrapperInfo
build()
WrapperInfoBuilder
wrapperName(java.lang.String wrapperName)
Set the name of the wrapper.WrapperInfoBuilder
wrapperVersion(java.lang.String wrapperVersion)
Set the version of the wrapper.
-
-
-
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
-
build
public abstract WrapperInfo build()
-
-