diff --git a/lib/api/goal/GoalWithFulfillment.ts b/lib/api/goal/GoalWithFulfillment.ts index a234a7aea..1cbf7bd9e 100644 --- a/lib/api/goal/GoalWithFulfillment.ts +++ b/lib/api/goal/GoalWithFulfillment.ts @@ -140,9 +140,9 @@ export interface PredicatedGoalDefinition extends GoalDefinition { */ export abstract class FulfillableGoal extends GoalWithPrecondition implements Registerable { - protected readonly fulfillments: Fulfillment[] = []; - protected readonly callbacks: GoalFulfillmentCallback[] = []; - protected readonly projectListeners: GoalProjectListenerRegistration[] = []; + public readonly fulfillments: Fulfillment[] = []; + public readonly callbacks: GoalFulfillmentCallback[] = []; + public readonly projectListeners: GoalProjectListenerRegistration[] = []; public sdm: SoftwareDeliveryMachine; @@ -220,7 +220,7 @@ export abstract class FulfillableGoal extends GoalWithPrecondition implements Re */ export abstract class FulfillableGoalWithRegistrations extends FulfillableGoal { - protected registrations: R[] = []; + public readonly registrations: R[] = []; constructor(public definitionOrGoal: PredicatedGoalDefinition | Goal, ...dependsOn: Goal[]) { super(definitionOrGoal, ...dependsOn); @@ -237,7 +237,7 @@ export abstract class FulfillableGoalWithRegistrations extends FulfillableGoa */ export abstract class FulfillableGoalWithRegistrationsAndListeners extends FulfillableGoalWithRegistrations { - protected listeners: L[] = []; + public readonly listeners: L[] = []; constructor(public definitionOrGoal: PredicatedGoalDefinition | Goal, ...dependsOn: Goal[]) { super(definitionOrGoal, ...dependsOn);