All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.launchdarkly.sdk.server.integrations.WrapperInfoBuilder Maven / Gradle / Ivy

There is a newer version: 7.6.0
Show newest version
package com.launchdarkly.sdk.server.integrations;

import com.launchdarkly.sdk.server.interfaces.WrapperInfo;

/**
 * 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. */ public abstract class WrapperInfoBuilder { protected String wrapperName; protected String wrapperVersion; /** * Set the name of the wrapper. * * @param wrapperName the name of the wrapper * @return the builder */ public WrapperInfoBuilder wrapperName(String wrapperName) { this.wrapperName = wrapperName; return this; } /** * Set the version of the wrapper. *

* This information will not be used unless the wrapperName is also set. * * @param wrapperVersion the version of the wrapper * @return the builder */ public WrapperInfoBuilder wrapperVersion(String wrapperVersion) { this.wrapperVersion = wrapperVersion; return this; } public abstract WrapperInfo build(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy