Package dyntabs.ai.event
Class EasyAIEvent.Builder
java.lang.Object
dyntabs.ai.event.EasyAIEvent.Builder
- Enclosing class:
EasyAIEvent
Fluent builder for
EasyAIEvent.
Analogy: filling in a pre-printed incident form — source and phase are the two required boxes; the rest are optional lines you complete when relevant.
-
Method Summary
Modifier and TypeMethodDescriptionbuild()sequence(long sequence) status(EasyAIEvent.Status status)
-
Method Details
-
status
- Parameters:
status- the visual status; @return this builder.
-
title
- Parameters:
title- short label; @return this builder.
-
detail
- Parameters:
detail- secondary descriptive line; @return this builder.
-
toolName
- Parameters:
toolName- tool/method name for tool-related events; @return this builder.
-
sequence
- Parameters:
sequence- 1-based ordinal within the operation; @return this builder.
-
timestamp
- Parameters:
timestamp- event time (defaults toInstant.now()if unset); @return this builder.
-
build
- Returns:
- the immutable
EasyAIEvent.
-