ExecutionPreprocessor

ExecutionPreprocessor is a hook point that can modify an Execution upon initial receipt of the configuration.

A common use case is to inspect and update a pipeline with configured context, such an application name.

public interface ExecutionPreprocessor implements SpinnakerExtensionPoint

Types

Type
Link copied to clipboard
enum Type

Functions

getExtensionClass
Link copied to clipboard
Class<? extends SpinnakerExtensionPointgetExtensionClass()
getPluginId
Link copied to clipboard
String getPluginId()
process
Link copied to clipboard

Allows modification of an execution configuration.

@Nonnull()
abstract Map<String, Objectprocess(Map<String, Objectexecution)
supports
Link copied to clipboard

Returns whether or not the preprocess can handle the inbound execution.

abstract boolean supports(Map<String, Objectexecution, ExecutionPreprocessor.Type type)