Class HookContext<T>
java.lang.Object
com.devcycle.sdk.server.common.model.HookContext<T>
Context object passed to hooks during variable evaluation.
Contains the user, variable key, default value, and additional context data.
-
Constructor Summary
ConstructorsConstructorDescriptionHookContext(DevCycleUser user, String key, T defaultValue, Variable<T> variable, ConfigMetadata metadata) HookContext(DevCycleUser user, String key, T defaultValue, ConfigMetadata metadata) -
Method Summary
-
Constructor Details
-
HookContext
-
HookContext
public HookContext(DevCycleUser user, String key, T defaultValue, Variable<T> variable, ConfigMetadata metadata)
-
-
Method Details
-
getUser
-
getKey
-
getDefaultValue
-
getVariableDetails
-
getMetadata
-
merge
-