SaveFileEventSchema
Writes the event's incomingData to fileName in the client's own file storage.
When overrideIfExists is false the runner first reads fileName and refuses to write if something is already there.
incomingData consumed: required, and must be a ByteArray — it is the content written.
Triggers fired:
OnSuccessEventTrigger— when the file was written. No data is passed downstream.OnFailureEventTrigger— when incomingData is missing or is not aByteArray(anIllegalArgumentExceptionis passed), when overrideIfExists isfalseand the file already exists (anIllegalStateExceptionis passed), or when the write itself failed (theThrowableis passed). Every case is logged.
Constructors
Properties
This event's own children — each declaring, via its own trigger, which of this event's outgoing triggers runs it. null when this event declares no children.
The condition that must occur for this event to run — matched by structural equality (data class/data object equality) against whatever trigger value fired, never by any kind of subscription or listener registry.