Class TriggerInterpolation
java.lang.Object
app.ductape.sdk.database.triggers.TriggerInterpolation
TS parity:
interpolateTemplate / getNestedValue from trigger-processor.ts.-
Method Summary
Modifier and TypeMethodDescriptionstatic ObjectgetNestedFromMap(Object root, String path) Dot path with optional numeric segments for lists (TSobj[part]semantics).static ObjectgetNestedValue(TriggerTypes.TriggerContext ctx, String path) Resolves paths likerecord.a,previousRecord.b,table,user.id.static Objectinterpolate(Object template, TriggerTypes.TriggerContext ctx) Same root shape as TS{ record, previousRecord, ...context }for path lookups.
-
Method Details
-
interpolate
-
pathRoot
Same root shape as TS{ record, previousRecord, ...context }for path lookups. -
getNestedValue
Resolves paths likerecord.a,previousRecord.b,table,user.id. -
getNestedFromMap
Dot path with optional numeric segments for lists (TSobj[part]semantics).
-