Class StickyAssignmentsDocument
java.lang.Object
growthbook.sdk.java.stickyBucketing.StickyAssignmentsDocument
StickyAssignmentsDocument class is presenting a model
for accumulate such data as: attributeName, attributeValue and assignments
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
A dictionary of persisted experiment assignments.The name of the attribute used to identify the user (e.g.The value of the attribute (e.g.int
hashCode()
void
setAssignments
(Map<String, String> assignments) A dictionary of persisted experiment assignments.void
setAttributeName
(String attributeName) The name of the attribute used to identify the user (e.g.void
setAttributeValue
(String attributeValue) The value of the attribute (e.g.toString()
-
Constructor Details
-
StickyAssignmentsDocument
-
StickyAssignmentsDocument
public StickyAssignmentsDocument()
-
-
Method Details
-
getAttributeName
The name of the attribute used to identify the user (e.g. `id`, `cookie_id`, etc.) -
getAttributeValue
The value of the attribute (e.g. `123`) -
getAssignments
A dictionary of persisted experiment assignments. For example: `{"exp1__0":"control"}` -
setAttributeName
The name of the attribute used to identify the user (e.g. `id`, `cookie_id`, etc.) -
setAttributeValue
The value of the attribute (e.g. `123`) -
setAssignments
A dictionary of persisted experiment assignments. For example: `{"exp1__0":"control"}` -
equals
-
hashCode
public int hashCode() -
toString
-