
com.launchdarkly.sdk.server.subsystems.HookConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of launchdarkly-java-server-sdk Show documentation
Show all versions of launchdarkly-java-server-sdk Show documentation
Official LaunchDarkly SDK for Java
package com.launchdarkly.sdk.server.subsystems;
import com.launchdarkly.sdk.server.integrations.HooksConfigurationBuilder;
import com.launchdarkly.sdk.server.integrations.Hook;
import java.util.Collections;
import java.util.List;
/**
* Encapsulates the SDK's 'hooks' configuration.
*
* Use {@link HooksConfigurationBuilder} to construct an instance.
*/
public class HookConfiguration {
private final List hooks;
/**
* @param hooks the list of {@link Hook} that will be registered.
*/
public HookConfiguration(List hooks) {
this.hooks = Collections.unmodifiableList(hooks);
}
/**
* @return an immutable list of hooks
*/
public List getHooks() {
return hooks;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy