Options
All
  • Public
  • Public/Protected
  • All
Menu

Vote on approved goals.

This allows GoalApprovalVoter instances to vote on the approved goal to decide if this approval request can be granted or not.

The final decision if the request should be granted based on all votes is delegated to the configured instance of GoalApprovalRequestVoteDecisionManager.

Hierarchy

  • VoteOnGoalApprovalRequest

Implements

Index

Constructors

constructor

  • new VoteOnGoalApprovalRequest(repoRefResolver: RepoRefResolver, credentialsFactory: CredentialsResolver, voters: GoalApprovalRequestVoter[], decisionManager: GoalApprovalRequestVoteDecisionManager, implementationMapper: GoalImplementationMapper, preferenceStoreFactory: PreferenceStoreFactory): VoteOnGoalApprovalRequest

Properties

configuration

configuration: SoftwareDeliveryMachineConfiguration

Private credentialsFactory

credentialsFactory: CredentialsResolver

Private decisionManager

decisionManager: GoalApprovalRequestVoteDecisionManager

Private implementationMapper

implementationMapper: GoalImplementationMapper

Private preferenceStoreFactory

preferenceStoreFactory: PreferenceStoreFactory

Private repoRefResolver

repoRefResolver: RepoRefResolver

Private voters

voters: GoalApprovalRequestVoter[]

Methods

handle

  • handle(event: EventFired<Subscription>, context: HandlerContext): Promise<HandlerResult>

Generated using TypeDoc