Skip to main content

OverrideProcessor

Trait OverrideProcessor 

Source
pub trait OverrideProcessor {
    // Required method
    fn apply_overrides(
        &self,
        flow: Arc<Flow>,
        overrides: &WorkflowOverrides,
    ) -> OverrideResult<Arc<Flow>>;
}
Expand description

Trait for applying workflow overrides to flows

Required Methods§

Source

fn apply_overrides( &self, flow: Arc<Flow>, overrides: &WorkflowOverrides, ) -> OverrideResult<Arc<Flow>>

Apply the given overrides to a workflow, returning a modified workflow.

This validates that all override targets exist in the workflow and applies the specified transformations. If no overrides are needed, the original Arc is returned unchanged.

Implementors§