We are starting to use Java specs and want to define all the projects and plans in a single repo, but not sure of the best way to setup many plans.
If we have 50 plans to define, are we going to have to create a single line for each plan like below? Is there an easier way to accomplish this?
Plan plan1 = new PlanSpec().createPlan1();
Plan plan2 = new PlanSpec().createPlan2();
Plan plan3 = new PlanSpec().createPlan3();
Plan plan4 = new PlanSpec().createPlan4();
Plan plan5 = new PlanSpec().createPlan5();
etc...
bambooServer.publish(plan1);
bambooServer.publish(plan2);
bambooServer.publish(plan3);
bambooServer.publish(plan4);
bambooServer.publish(plan5);
etc...