As a first approach make the Self-Promotion Condition work incorporating all the required refactorings.
Approach: * For this PromotionBadge,PromotionCondition,a new PromotionProcess,Promotion classes must be changed and integrated together. * Once this is complete we can add other methods/functions for other promotion processes subsequently.
As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.
Approach: * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together.
* Once this is complete we can add other methods/functions for other promotion processes subsequently.
+Expected Flow:+
Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).
Acceptance Criteria: * This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc. * Can inherit "conditions" from PromotionProcess. * Can run successfully with no compilation/run time errors.
As a first approach make the Self-Promotion Condition work incorporating all the required refactorings or make a different analogous class.
Approach: * For this *PromotionBadge,PromotionCondition,*a new *PromotionProcess, Promotion* classes must be changed and integrated together. * Once this is complete we can add other methods/functions for other promotion processes subsequently.
+Expected Flow:+
Pass Promotion Description(via DSL)(a low level implementation) -> Reaches *PromotionCondition* -> Reaches SelfPromotion -> Assigns Badges -> Returns to *PromotionProcess* for final Promotion -> GetsPromotion Badge/Label -> Triggers the Promotion Job (a low level implementation).
*Acceptance Criteria:*
* This class successfully communicates with its dependent classes like PromotionProcess, JobPropertyImpl,etc. * Can inherit "conditions" from PromotionProcess.
* Can run successfully with no compilation/run time errors+*Unit Tests.*