Package dyntabs.ai.activity
Class ActivityQuery.Builder
java.lang.Object
dyntabs.ai.activity.ActivityQuery.Builder
- Enclosing class:
ActivityQuery
Fluent builder for
ActivityQuery.
Analogy: ticking boxes on a search form — every box is optional; leaving one blank means "any".
-
Method Summary
Modifier and TypeMethodDescriptionbuild()limit(int limit) type(UserActivityEvent.Type type) types(Set<UserActivityEvent.Type> types)
-
Method Details
-
sessionId
- Parameters:
sessionId- the session to match exactly (ornullfor any); @return this builder.
-
tabId
- Parameters:
tabId- the tab to match exactly (ornullfor any); @return this builder.
-
since
- Parameters:
since- inclusive lower time bound (ornullfor none); @return this builder.
-
type
- Parameters:
type- a type to accept (additive; call repeatedly to widen the set); @return this builder.
-
types
- Parameters:
types- types to accept;nullis treated as none; @return this builder.
-
limit
- Parameters:
limit- max most-recent matches (<= 0means no limit); @return this builder.
-
build
- Returns:
- the immutable
ActivityQuery.
-