Uses of Record Class
cloud.opencode.base.flow.model.HistoryRecord
Packages that use HistoryRecord
Package
Description
Public API surface for the flow engine (4 services exposed to the host).
Package-private engine internals (DefaultFlowEngine / StepEvaluator / TransitionResolver / HistoryWriter).
Persistence layer (InMemory + JDBC repositories with dialect abstraction).
JDBC repository (MySQL / PostgreSQL / H2) with dialect abstraction and SqlBuilder.
In-memory repository implementation for unit tests and quick demos (M3).
-
Uses of HistoryRecord in cloud.opencode.base.flow.api
Methods in cloud.opencode.base.flow.api that return types with arguments of type HistoryRecordModifier and TypeMethodDescriptionHistoryService.findByTaskId(String taskId) Returns the single history row tied to the given task id (if any).HistoryService.findByUser(String userId, int page, int size) Paginated history rows operated by the given user.Returns the full chronological timeline (earliest first) for an instance. -
Uses of HistoryRecord in cloud.opencode.base.flow.internal
Methods in cloud.opencode.base.flow.internal that return types with arguments of type HistoryRecordModifier and TypeMethodDescriptionDefaultHistoryService.findByTaskId(String taskId) DefaultHistoryService.findByUser(String userId, int page, int size) Method parameters in cloud.opencode.base.flow.internal with type arguments of type HistoryRecordModifier and TypeMethodDescriptionTransitionResolver.previousApproveOrVoteStep(List<HistoryRecord> history, FlowDefinition def) Returns the previous APPROVE / VOTE step recorded in the timeline ofhistory.TransitionResolver.previousApproveOrVoteStep(List<HistoryRecord> history, FlowDefinition def, String currentStepId) Variant that accepts an explicit current step id so callers (e.g. -
Uses of HistoryRecord in cloud.opencode.base.flow.persistence
Methods in cloud.opencode.base.flow.persistence that return types with arguments of type HistoryRecordModifier and TypeMethodDescriptionFlowRepository.findHistoryByInstance(String instanceId) Lists every history row for an instance in chronological order (earliest first).FlowRepository.findHistoryByTaskId(String taskId) Looks up a history row by its related task id (one-to-one for terminal task actions such as approve / reject).FlowRepository.findHistoryByUser(String userId, int page, int size) Paginated history query for the given user (matched onHistoryRecord.operatorId()).Methods in cloud.opencode.base.flow.persistence with parameters of type HistoryRecordModifier and TypeMethodDescriptionvoidFlowRepository.appendHistory(HistoryRecord record) Appends a new history row. -
Uses of HistoryRecord in cloud.opencode.base.flow.persistence.jdbc
Methods in cloud.opencode.base.flow.persistence.jdbc that return types with arguments of type HistoryRecordModifier and TypeMethodDescriptionJdbcFlowRepository.findHistoryByInstance(String instanceId) JdbcFlowRepository.findHistoryByTaskId(String taskId) JdbcFlowRepository.findHistoryByUser(String userId, int page, int size) Methods in cloud.opencode.base.flow.persistence.jdbc with parameters of type HistoryRecord -
Uses of HistoryRecord in cloud.opencode.base.flow.persistence.memory
Methods in cloud.opencode.base.flow.persistence.memory that return types with arguments of type HistoryRecordModifier and TypeMethodDescriptionInMemoryFlowRepository.findHistoryByInstance(String instanceId) InMemoryFlowRepository.findHistoryByTaskId(String taskId) InMemoryFlowRepository.findHistoryByUser(String userId, int page, int size) Methods in cloud.opencode.base.flow.persistence.memory with parameters of type HistoryRecordModifier and TypeMethodDescriptionvoidInMemoryFlowRepository.appendHistory(HistoryRecord record)