Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "core/machine/configure"

Index

Type aliases

ConfigurationPreProcessor

Process the configuration before creating the SDM instance

Configurer

Configurer<G, F>: (sdm: SoftwareDeliveryMachine & { createGoals: CreateGoals<G> }) => Promise<void | GoalData | Array<GoalContribution<F>>>

Configure a SoftwareDeliveryMachine instance by adding command, events etc and optionally returning GoalData, an array of GoalContributions or void when no goals should be added to this SDM.

Type parameters

Type declaration

CreateGoals

CreateGoals<G>: (creator: GoalCreator<G>, configurers?: GoalConfigurer<G> | Array<GoalConfigurer<G>>) => Promise<G>

Type to orchestrate the creation and configuration of goal instances for this SDM

Type parameters

Type declaration

DeliveryGoals

DeliveryGoals: Record<string, Goal | GoalWithFulfillment>

Type to collect goal instances for this SDM

GoalConfigurer

GoalConfigurer<G>: (sdm: SoftwareDeliveryMachine, goals: G) => Promise<void>

Type to configure provided goals with fulfillments, listeners etc

Type parameters

Type declaration

GoalCreator

GoalCreator<G>: (sdm: SoftwareDeliveryMachine) => Promise<G>

Type to create goal instances for this SDM

Type parameters

Type declaration

GoalData

GoalData: Record<string, GoalStructure>

Type to collect named GoalStructure instances

The record key will be used to name the goal contribution.

Functions

configure

convertGoalData

convertGoals

convertPushTest

invokeConfigurer

wrapTest

Generated using TypeDoc