Coverage Summary for Class: BoardStatus (core.primitives)
| Class |
Class, %
|
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| BoardStatus |
100%
(1/1)
|
100%
(1/1)
|
|
100%
(3/3)
|
100%
(24/24)
|
package core.primitives
/**
* ## Role
* - Board entry lifecycle state from posting to completion. Enforces `INV_BOARD_ACTIVE_EXCLUSION` constraint: no `OPEN` board entry if an active contract exists for the same `contractId`.
*
* ## Stability
* - Stable API: yes; Audience: adapters/tests/internal
*/
enum class BoardStatus {
/**
* Contract available for taking; commands `UpdateContractTerms` and `CancelContract` require `status == OPEN`.
*/
OPEN,
/**
* Contract locked; active contract exists for this `contractId`.
*/
LOCKED,
/**
* Contract completed; terminal state.
*/
COMPLETED
}