of

fun of(propositionId: String, target: String, lifecycle: ProjectionLifecycle, runId: String, targetRef: String? = null, at: Instant = Instant.now(), reason: String? = null, contextId: String = ""): ProjectionRecord

Java-friendly factory method to create a ProjectionRecord.

Parameters

propositionId

ID of the projected proposition

target

The projection target

lifecycle

Lifecycle state of this projection

runId

ID of the projection run

targetRef

Optional reference to the produced/adopted artifact

at

When this record was created

reason

Optional explanation