AlwaysCreateReconciler

Reconciler that always returns ReconciliationDecision.CreateNew, the projection counterpart of com.embabel.dice.common.resolver.AlwaysCreateEntityResolver.

Useful as a default implementation and in tests. It performs no matching against existing artifacts, so it is not suitable where duplication within a target store must be avoided.

Functions

Link copied to clipboard
open override fun reconcile(proposition: Proposition, target: String): ReconciliationDecision

Decide how proposition should be projected to target.

open fun reconcile(proposition: Proposition, target: String, projected: Projection): ReconciliationDecision

Decide how proposition's concrete projected artifact should be projected to target.