Package growthbook.sdk.java.model
Class ReducePayloadOptions
java.lang.Object
growthbook.sdk.java.model.ReducePayloadOptions
Options for reducing a features payload, e.g. on a server bootstrapping a client SDK.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumHowReducePayloadOptionstreats prerequisite features.static class -
Constructor Summary
ConstructorsConstructorDescriptionReducePayloadOptions(PayloadFilters include, PayloadFilters exclude, ReducePayloadOptions.Prerequisites prerequisites) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanRemove the features and auto experiments that match any filter.Keep only the features and auto experiments that match every filter.How the prerequisites of what is kept are treated;nullmeansReducePayloadOptions.Prerequisites.KEEP.inthashCode()voidsetExclude(PayloadFilters exclude) Remove the features and auto experiments that match any filter.voidsetInclude(PayloadFilters include) Keep only the features and auto experiments that match every filter.voidsetPrerequisites(ReducePayloadOptions.Prerequisites prerequisites) How the prerequisites of what is kept are treated;nullmeansReducePayloadOptions.Prerequisites.KEEP.toString()
-
Constructor Details
-
ReducePayloadOptions
public ReducePayloadOptions() -
ReducePayloadOptions
public ReducePayloadOptions(@Nullable PayloadFilters include, @Nullable PayloadFilters exclude, @Nullable ReducePayloadOptions.Prerequisites prerequisites)
-
-
Method Details
-
builder
-
getInclude
Keep only the features and auto experiments that match every filter. -
getExclude
Remove the features and auto experiments that match any filter. -
getPrerequisites
How the prerequisites of what is kept are treated;nullmeansReducePayloadOptions.Prerequisites.KEEP. -
setInclude
Keep only the features and auto experiments that match every filter. -
setExclude
Remove the features and auto experiments that match any filter. -
setPrerequisites
How the prerequisites of what is kept are treated;nullmeansReducePayloadOptions.Prerequisites.KEEP. -
equals
-
hashCode
public int hashCode() -
toString
-