package Ġio . ark it ik . cle f . workflow . api . controller . element . api Ċ Ċ import Ġio . ark it ik . radix . develop . operation . ext . run Operation Ċ import Ġio . ark it ik . cle f . workflow . api . controller . element . contract . Element Api Contract Ċ import Ġio . ark it ik . cle f . workflow . api . sdk . element . dto . Create Element Dto Ċ import Ġio . ark it ik . cle f . workflow . api . sdk . element . dto . Execute Action Dto Ċ import Ġio . ark it ik . cle f . workflow . sdk . engine . Cle f Workflow Engine Ċ import Ġorg . springframework . web . bind . annotation . RestController Ċ Ċ /** Ċ Ġ* ĠCreated ĠBy Ġ[** I br ah im ĠAl - T am imi Ġ ï £ ¿ **]( https :// www . linkedin . com / in / ilo om /) < br ></ br > Ċ Ġ* ĠCreated ĠAt Ġ** 2 0 **, Ġ** Fri ĠMar , Ġ 2 0 2 0 ** Ċ Ġ* ĠProject Ġ** cle f - workflow ** Ġ[ ark it ik . IO ]( https :// ark it ik . io /) < br ></ br > Ċ Ġ*/ Ċ @ RestController Ċ class ĠElement Api Controller ( ĊĠĠĠ Ġcle f Workflow Engine : ĠC le f Workflow Engine , Ċ ) Ġ: ĠElement Api Contract Ġ{ ĊĠĠĠ Ġprivate Ġval Ġelement Sdk Ġ= Ġcle f Workflow Engine . element Sdk ĊĠĠĠ Ġoverride Ġfun Ġadd Element ( request : ĠCreate Element Dto ) Ġ= ĊĠĠĠĠĠĠĠ Ġelement Sdk . createElement . run Operation ( request ) ĊĊĠĠĠ Ġoverride Ġfun Ġexecute Action ( request : ĠExecute Action Dto ) Ġ= ĊĠĠĠĠĠĠĠ Ġelement Sdk . execute Action . run Operation ( request ) ĊĊĠĠĠ Ġoverride Ġfun Ġelement Details ( element Key : ĠString ) Ġ= ĊĠĠĠĠĠĠĠ Ġelement Sdk . element Details . run Operation ( element Key ) Ċ }