Options
All
  • Public
  • Public/Protected
  • All
Menu

Abstract support class for implementing a SoftwareDeliveryMachine.

Type parameters

Hierarchy

Implements

Index

Constructors

Protected constructor

Properties

Readonly channelLinkListeners

channelLinkListeners: ChannelLinkListener[] = []

Readonly closedIssueListeners

closedIssueListeners: ClosedIssueListener[] = []

Readonly Abstract commandHandlers

commandHandlers: Array<Maker<HandleCommand>>

Readonly configuration

configuration: O

automation client configuration we're running in

Protected Readonly disposalGoalSetters

disposalGoalSetters: GoalSetter[] = []

Readonly Abstract eventHandlers

eventHandlers: Array<Maker<HandleEvent<any>>>

Readonly extensionPacks

extensionPacks: ExtensionPack[] = []

Readonly firstPushListeners

firstPushListeners: PushListener[] = []

Private fulfillmentMapper

Protected goalApprovalRequestVoteDecisionManager

goalApprovalRequestVoteDecisionManager: GoalApprovalRequestVoteDecisionManager = UnanimousGoalApprovalRequestVoteDecisionManager

Protected Readonly goalApprovalRequestVoters

goalApprovalRequestVoters: GoalApprovalRequestVoter[] = []

Readonly goalCompletionListeners

goalCompletionListeners: GoalCompletionListener[] = []

Readonly goalExecutionListeners

goalExecutionListeners: GoalExecutionListener[] = []

Readonly goalsSetListeners

goalsSetListeners: GoalsSetListener[] = []

Readonly Abstract ingesters

ingesters: string[]

Readonly name

name: string

Readonly newIssueListeners

newIssueListeners: NewIssueListener[] = []

Readonly pullRequestListeners

pullRequestListeners: PullRequestListener[] = []

Private pushMap

pushMap: GoalSetter

Protected Readonly registrationManager

registrationManager: HandlerRegistrationManagerSupport = new HandlerRegistrationManagerSupport(this)

Readonly repoCreationListeners

repoCreationListeners: RepoCreationListener[] = []

Readonly repoOnboardingListeners

repoOnboardingListeners: ProjectListener[] = []

Readonly startupListeners

startupListeners: StartupListener[] = []

Readonly tagListeners

tagListeners: TagListener[] = []

Readonly triggeredListeners

triggeredListeners: TriggeredListenerRegistration[] = []

Readonly updatedIssueListeners

updatedIssueListeners: UpdatedIssueListener[] = []

Readonly userJoiningChannelListeners

userJoiningChannelListeners: UserJoiningChannelListener[] = []

Accessors

goalFulfillmentMapper

pushMapping

Methods

addChannelLinkListener

addClosedIssueListener

addCodeInspectionCommand

addCodeTransformCommand

addCommand

addEvent

Private addExtensionPack

addExtensionPacks

addFirstPushListener

addGeneratorCommand

addGoalApprovalRequestVoter

addGoalCompletionListener

addGoalContributions

  • addGoalContributions(goalContributions: GoalSetter): this

addGoalExecutionListener

addGoalImplementation

addGoalSideEffect

  • addGoalSideEffect(goal: Goal, sideEffectName: string, registration?: string, pushTest?: PushTest): this
  • Declare that a goal will become successful based on something outside. For instance, ArtifactGoal succeeds because of an ImageLink event. This tells the SDM that it does not need to run anything when this goal becomes ready.

    Parameters

    • goal: Goal
    • sideEffectName: string
    • Optional registration: string
    • Default value pushTest: PushTest = AnyPush

    Returns this

addGoalsSetListener

addIngester

addNewIssueListener

addPullRequestListener

addRepoCreationListener

addRepoOnboardingListener

addStartupListener

addTagListener

addTriggeredListener

addUpdatedIssueListener

addUserJoiningChannelListener

notifyStartupListeners

  • notifyStartupListeners(): Promise<void>

scheduleTriggeredListeners

  • scheduleTriggeredListeners(): void

setGoalApprovalRequestVoteDecisionManager

Private shouldRegister

withPushRules

Generated using TypeDoc