package Ġpc im c io ch . gitlab ci . dsl . job Ċ Ċ import Ġkotlinx . serialization . Serial Name Ċ import Ġkotlinx . serialization . Serializable Ċ import Ġpc im c io ch . gitlab ci . dsl . Dsl Base Ċ import Ġpc im c io ch . gitlab ci . dsl . Duration Ċ import Ġpc im c io ch . gitlab ci . dsl . String Representation Ċ import Ġpc im c io ch . gitlab ci . dsl . serializer . String Representation Serializer Ċ Ċ @ Serializable Ċ class ĠArtifact s Dsl Ġ: ĠD sl Base () Ġ{ ĊĠĠĠ Ġvar Ġname : ĠString ? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" expose _ as ") ĊĠĠĠ Ġvar Ġexpose As : ĠString ? Ġ= Ġnull ĊĠĠĠ Ġvar Ġun tracked : ĠBoolean ? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" when ") ĊĠĠĠ Ġvar Ġwhen Upload : ĠWhen Upload Type ? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" expire _ in ") ĊĠĠĠ Ġvar Ġexpire In : ĠDuration ? Ġ= Ġnull ĊĠĠĠ Ġvar Ġpaths : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġexclude : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġreports : ĠArtifact s Reports Dsl ? Ġ= Ġnull ĊĊĠĠĠ Ġfun Ġpaths ( var arg Ġelements : ĠString ) Ġ= Ġpaths ( elements . toList ()) ĊĠĠĠ Ġfun Ġpaths ( elements : ĠIterable < String >) Ġ= Ġensure Paths (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġexclude ( var arg Ġelements : ĠString ) Ġ= Ġexclude ( elements . toList ()) ĊĠĠĠ Ġfun Ġexclude ( elements : ĠIterable < String >) Ġ= Ġensure Exclude (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġreports ( block : ĠArtifact s Reports Dsl . () Ġ-> ĠUnit ) Ġ= Ġensure Reports (). apply ( block ) ĊĊĠĠĠ Ġoverride Ġfun Ġvalidate ( errors : ĠMutable List < String >) Ġ{ ĊĠĠĠĠĠĠĠ Ġadd Errors ( errors , Ġ"[ artifacts ]", Ġreports ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprivate Ġfun Ġensure Reports () Ġ= Ġreports Ġ?: ĠArtifact s Reports Dsl (). also Ġ{ Ġreports Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Paths () Ġ= Ġpaths Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġpaths Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Exclude () Ġ= Ġexclude Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġexclude Ġ= Ġit Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadd Serializer ( Artifacts Dsl :: class , Ġserializer ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġcreate Artifacts ( block : ĠArtifact s Dsl . () Ġ-> ĠUnit Ġ= Ġ{}) Ġ= ĠArtifact s Dsl (). apply ( block ) Ċ fun Ġcreate Artifacts ( var arg Ġelements : ĠString , Ġblock : ĠArtifact s Dsl . () Ġ-> ĠUnit Ġ= Ġ{}) Ġ= Ġcreate Artifacts ( elements . toList (), Ġblock ) Ċ fun Ġcreate Artifacts ( elements : ĠIterable < String >, Ġblock : ĠArtifact s Dsl . () Ġ-> ĠUnit Ġ= Ġ{}) Ġ= ĠArtifact s Dsl (). apply Ġ{ Ġpaths ( elements ) Ġ}. apply ( block ) Ċ Ċ @ Serializable ( with Ġ= ĠWhen Upload Type . When Upload Type Serializer :: class ) Ċ enum Ġclass ĠWhen Upload Type ( ĊĠĠĠĠĠĠĠ Ġoverride Ġval Ġstring Representation : ĠString Ċ ) Ġ: ĠString Representation Ġ{ ĊĠĠĠ ĠON _ SUCCESS (" on _ success "), ĊĠĠĠ ĠON _ FAILURE (" on _ failure "), ĊĠĠĠ ĠAL WAYS (" always "); ĊĊĠĠĠ Ġobject ĠWhen Upload Type Serializer Ġ: ĠString Representation Serializer < When Upload Type >(" When Upload Type ") Ċ } Ċ Ċ @ Serializable Ċ class ĠArtifact s Reports Dsl Ġ: ĠD sl Base () Ġ{ ĊĠĠĠ Ġvar Ġjunit : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġdot env : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġcode quality : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġs ast : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" dependency _ sc anning ") ĊĠĠĠ Ġvar Ġdependency Sc anning : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" container _ sc anning ") ĊĠĠĠ Ġvar Ġcontainer Sc anning : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġd ast : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" license _ management ") ĊĠĠĠ Ġvar Ġlicense Management : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" license _ sc anning ") ĊĠĠĠ Ġvar Ġlicense Sc anning : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġperformance : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġmetrics : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġc ob ert ura : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġ@ Serial Name (" load _ performance ") ĊĠĠĠ Ġvar Ġload Performance : ĠMutable Set < String >? Ġ= Ġnull ĊĠĠĠ Ġvar Ġterraform : ĠMutable Set < String >? Ġ= Ġnull ĊĊĠĠĠ Ġfun Ġjunit ( var arg Ġelements : ĠString ) Ġ= Ġjunit ( elements . toList ()) ĊĠĠĠ Ġfun Ġjunit ( elements : ĠIterable < String >) Ġ= Ġensure J unit (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġdot env ( var arg Ġelements : ĠString ) Ġ= Ġdot env ( elements . toList ()) ĊĠĠĠ Ġfun Ġdot env ( elements : ĠIterable < String >) Ġ= Ġensure Dot env (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġcode quality ( var arg Ġelements : ĠString ) Ġ= Ġcode quality ( elements . toList ()) ĊĠĠĠ Ġfun Ġcode quality ( elements : ĠIterable < String >) Ġ= Ġensure Code quality (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġs ast ( var arg Ġelements : ĠString ) Ġ= Ġs ast ( elements . toList ()) ĊĠĠĠ Ġfun Ġs ast ( elements : ĠIterable < String >) Ġ= Ġensure S ast (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġdependency Sc anning ( var arg Ġelements : ĠString ) Ġ= Ġdependency Sc anning ( elements . toList ()) ĊĠĠĠ Ġfun Ġdependency Sc anning ( elements : ĠIterable < String >) Ġ= Ġensure Dependency Sc anning (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġcontainer Sc anning ( var arg Ġelements : ĠString ) Ġ= Ġcontainer Sc anning ( elements . toList ()) ĊĠĠĠ Ġfun Ġcontainer Sc anning ( elements : ĠIterable < String >) Ġ= Ġensure Container Sc anning (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġd ast ( var arg Ġelements : ĠString ) Ġ= Ġd ast ( elements . toList ()) ĊĠĠĠ Ġfun Ġd ast ( elements : ĠIterable < String >) Ġ= Ġensure D ast (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġlicense Management ( var arg Ġelements : ĠString ) Ġ= Ġlicense Management ( elements . toList ()) ĊĠĠĠ Ġfun Ġlicense Management ( elements : ĠIterable < String >) Ġ= Ġensure License Management (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġlicense Sc anning ( var arg Ġelements : ĠString ) Ġ= Ġlicense Sc anning ( elements . toList ()) ĊĠĠĠ Ġfun Ġlicense Sc anning ( elements : ĠIterable < String >) Ġ= Ġensure License Sc anning (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġperformance ( var arg Ġelements : ĠString ) Ġ= Ġperformance ( elements . toList ()) ĊĠĠĠ Ġfun Ġperformance ( elements : ĠIterable < String >) Ġ= Ġensure Performance (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġmetrics ( var arg Ġelements : ĠString ) Ġ= Ġmetrics ( elements . toList ()) ĊĠĠĠ Ġfun Ġmetrics ( elements : ĠIterable < String >) Ġ= Ġensure Metrics (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġc ob ert ura ( var arg Ġelements : ĠString ) Ġ= Ġc ob ert ura ( elements . toList ()) ĊĠĠĠ Ġfun Ġc ob ert ura ( elements : ĠIterable < String >) Ġ= Ġensure C ob ert ura (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġload Performance ( var arg Ġelements : ĠString ) Ġ= Ġload Performance ( elements . toList ()) ĊĠĠĠ Ġfun Ġload Performance ( elements : ĠIterable < String >) Ġ= Ġensure Load Performance (). addAll ( elements ) ĊĊĠĠĠ Ġfun Ġterraform ( var arg Ġelements : ĠString ) Ġ= Ġterraform ( elements . toList ()) ĊĠĠĠ Ġfun Ġterraform ( elements : ĠIterable < String >) Ġ= Ġensure T erraform (). addAll ( elements ) ĊĊĠĠĠ Ġprivate Ġfun Ġensure J unit () Ġ= Ġjunit Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġjunit Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Dot env () Ġ= Ġdot env Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġdot env Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Code quality () Ġ= Ġcode quality Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġcode quality Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure S ast () Ġ= Ġs ast Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġs ast Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Dependency Sc anning () Ġ= Ġdependency Sc anning Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġdependency Sc anning Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Container Sc anning () Ġ= Ġcontainer Sc anning Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġcontainer Sc anning Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure D ast () Ġ= Ġd ast Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġd ast Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure License Management () Ġ= Ġlicense Management Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġlicense Management Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure License Sc anning () Ġ= Ġlicense Sc anning Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġlicense Sc anning Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Performance () Ġ= Ġperformance Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġperformance Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Metrics () Ġ= Ġmetrics Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġmetrics Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure C ob ert ura () Ġ= Ġc ob ert ura Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġc ob ert ura Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure Load Performance () Ġ= Ġload Performance Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġload Performance Ġ= Ġit Ġ} ĊĠĠĠ Ġprivate Ġfun Ġensure T erraform () Ġ= Ġterraform Ġ?: Ġmutable Set Of < String >(). also Ġ{ Ġterraform Ġ= Ġit Ġ} ĊĊĠĠĠ Ġcompanion Ġobject Ġ{ ĊĠĠĠĠĠĠĠ Ġinit Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġadd Serializer ( Artifacts Reports Dsl :: class , Ġserializer ()) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ fun Ġcreate Artifacts Reports ( block : ĠArtifact s Reports Dsl . () Ġ-> ĠUnit Ġ= Ġ{}) Ġ= ĠArtifact s Reports Dsl (). apply ( block )