Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "machine/configure"

Index

Type aliases

AllGoals

AllGoals: DeliveryGoals
deprecated

use DeliveryGoals

ConfigurationPreProcessor

ConfigurationPreProcessor: function

Process the configuration before creating the SDM instance

Configurer

Configurer<G, F>: function

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

    • (sdm: SoftwareDeliveryMachine & object): Promise<void | GoalData | Array<GoalContribution<F>>>
    • Parameters

      • sdm: SoftwareDeliveryMachine & object

      Returns Promise<void | GoalData | Array<GoalContribution<F>>>

CreateGoals

CreateGoals<G>: function

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>: function

Type to configure provided goals with fulfillments, listeners etc

Type parameters

Type declaration

    • (sdm: SoftwareDeliveryMachine, goals: G): Promise<void>
    • Parameters

      • sdm: SoftwareDeliveryMachine
      • goals: G

      Returns Promise<void>

GoalCreator

GoalCreator<G>: function

Type to create goal instances for this SDM

Type parameters

Type declaration

    • (sdm: SoftwareDeliveryMachine): Promise<G>
    • Parameters

      • sdm: SoftwareDeliveryMachine

      Returns Promise<G>

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

  • convertGoalData(goalData: GoalData): Array<GoalContribution<any>>
  • Convert the provided GoalData instance into an array of GoalContributions

    Parameters

    Returns Array<GoalContribution<any>>

convertGoals

  • convertGoals(gs: Goal | Goals | Array<Goal | Goals>): Array<Goal | Goals>

convertPushTest

  • convertPushTest(test: PushTest | PushTest[]): PushTest

invokeConfigurer

  • invokeConfigurer(sdm: SoftwareDeliveryMachine, configurer: Configurer<any, any>): Promise<void | GoalData | Array<GoalContribution<any>>>

Generated using TypeDoc