package Ġnet . nem eros a . on track . service Ċ Ċ import Ġnet . nem eros a . on track . extension . api . Extension Manager Ċ import Ġnet . nem eros a . on track . extension . api . Promotion Run Check Extension Ċ import Ġnet . nem eros a . on track . model . structure . Promotion Run Ċ import Ġnet . nem eros a . on track . model . structure . Promotion Run Check Service Ċ import Ġorg . springframework . stereotype . Service Ċ import Ġorg . springframework . transaction . annotation . Transactional Ċ Ċ @ Service Ċ @ Transactional Ċ class ĠProm otion Run Check ServiceImpl ( ĊĠĠĠĠĠĠĠ Ġprivate Ġval Ġextension Manager : ĠExtension Manager Ċ ) Ġ: ĠProm otion Run Check Service Ġ{ ĊĊĠĠĠ Ġval Ġsorted Checks : ĠList < Promotion Run Check Extension > Ġby Ġlazy Ġ{ ĊĠĠĠĠĠĠĠ Ġextension Manager . get Extensions ( Promotion Run Check Extension :: class . java ) ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. toList () ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ. sorted By Ġ{ Ġit . order Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġ/** ĊĠĠĠĠ Ġ* ĠChecks Ġall Ġcheck Ġcomponents Ġin Ġturn . ĊĠĠĠĠ Ġ*/ ĊĠĠĠ Ġoverride Ġfun Ġcheck Promotion Run Creation ( promotion Run : ĠProm otion Run ) Ġ{ ĊĠĠĠĠĠĠĠ Ġsorted Checks . forEach Ġ{ Ġit . check Promotion Run Creation ( promotion Run ) Ġ} ĊĠĠĠ Ġ} Ċ } Ċ