/* Ċ Ġ* ĠCopyright Ġ 2 0 1 2 - 2 0 1 8 Ġthe Ġoriginal Ġauthor Ġor Ġauthors . Ċ Ġ* Ċ Ġ* ĠLicensed Ġunder Ġthe ĠApache ĠLicense , ĠVersion Ġ 2 . 0 Ġ( the Ġ" License "); Ċ Ġ* Ġyou Ġmay Ġnot Ġuse Ġthis Ġfile Ġexcept Ġin Ġcompliance Ġwith Ġthe ĠLicense . Ċ Ġ* ĠYou Ġmay Ġobtain Ġa Ġcopy Ġof Ġthe ĠLicense Ġat Ċ Ġ* Ċ Ġ* ĠĠĠĠĠĠ Ġhttp :// www . apache . org / licenses / LICENSE - 2 . 0 Ċ Ġ* Ċ Ġ* ĠUnless Ġrequired Ġby Ġapplicable Ġlaw Ġor Ġagreed Ġto Ġin Ġwriting , Ġsoftware Ċ Ġ* Ġdistributed Ġunder Ġthe ĠLicense Ġis Ġdistributed Ġon Ġan Ġ" AS ĠIS " ĠBASIS , Ċ Ġ* ĠWITHOUT ĠWARRANTIES ĠOR ĠCONDITIONS ĠOF ĠANY ĠKIND , Ġeither Ġexpress Ġor Ġimplied . Ċ Ġ* ĠSee Ġthe ĠLicense Ġfor Ġthe Ġspecific Ġlanguage Ġgoverning Ġpermissions Ġand Ċ Ġ* Ġlimitations Ġunder Ġthe ĠLicense . Ċ Ġ*/ Ċ Ċ package Ġorg . nex ial . core . model Ċ Ċ import Ġorg . apache . commons . lang 3 . Random StringUtils Ċ import Ġorg . nex ial . core . N ex ial Const . NAMESPACE Ċ Ċ private Ġconst Ġval ĠNOT IFY _ ON Ġ= ĠNAMES PACE Ġ+ Ġ" notify On " Ċ Ċ /** Ċ Ġ* Ġthe Ġdefinition Ġand Ġa Ġlist Ġof Ġknown Ġexecution - level Ġevents Ċ Ġ* Ġ@ property ĠeventName ĠString Ċ Ġ* Ġ@ property Ġvariable ĠString Ċ Ġ* Ġ@ property Ġdescription ĠString Ċ Ġ* Ġ@ constructor Ċ Ġ*/ Ċ enum Ġclass ĠExecution Event ( val ĠeventName : ĠString , Ġval Ġvariable : ĠString , Ġval Ġdescription : ĠString ) Ġ{ ĊĠĠĠ ĠExecution Start (" on Execution Start ", ĠNOT IFY _ ON Ġ+ Ġ" Execution Start ", Ġ" Execution Ġstarted "), ĊĠĠĠ ĠExecution Complete (" on Execution Complete ", ĠNOT IFY _ ON Ġ+ Ġ" Execution Complete ", Ġ" Execution Ġcompleted "), ĊĊĠĠĠ ĠScript Start (" on Script Start ", ĠNOT IFY _ ON Ġ+ Ġ" Script Start ", Ġ" Script Ġexecution Ġstarted "), ĊĠĠĠ ĠScript Complete (" on Script Complete ", ĠNOT IFY _ ON Ġ+ Ġ" Script Complete ", Ġ" Script Ġexecution Ġcompleted "), ĊĊĠĠĠ ĠIteration Start (" on Iteration Start ", ĠNOT IFY _ ON Ġ+ Ġ" Iteration Start ", Ġ" Iteration Ġexecution Ġstarted "), ĊĠĠĠ ĠIteration Complete (" on Iteration Complete ", ĠNOT IFY _ ON Ġ+ Ġ" Iteration Complete ", Ġ" Iteration Ġexecution Ġcompleted "), ĊĊĠĠĠ ĠScenario Start (" on Scenario Start ", ĠNOT IFY _ ON Ġ+ Ġ" Scenario Start ", Ġ" Scenario Ġexecution Ġstarted "), ĊĠĠĠ ĠScenario Complete (" on Scenario Complete ", ĠNOT IFY _ ON Ġ+ Ġ" Scenario Complete ", Ġ" Scenario Ġexecution Ġcompleted "), ĊĊĠĠĠ ĠError Occurred (" onError ", ĠNOT IFY _ ON Ġ+ Ġ" Error ", Ġ" Error Ġoccurred "), ĊĠĠĠ ĠExecution Pause (" on Pause ", ĠNOT IFY _ ON Ġ+ Ġ" Pause ", Ġ" Execution Ġpaused "), ĊĊĠĠĠ ĠWeb Open (" on Web Open ", ĠNOT IFY _ ON Ġ+ Ġ" Web Open ", Ġ" URL Ġinvoked "), ĊĊĠĠĠ ĠDesktop Use App (" on Desktop Use App ", ĠNOT IFY _ ON Ġ+ Ġ" Desktop Use App ", Ġ" Desktop Ġapp Ġin Ġuse "), ĊĠĠĠ ĠDesktop Use Form (" on Desktop Use Form ", ĠNOT IFY _ ON Ġ+ Ġ" Desktop Use Form ", Ġ" Desktop Ġform Ġin Ġuse "), ĊĠĠĠ ĠDesktop Use Table (" on Desktop Use Table ", ĠNOT IFY _ ON Ġ+ Ġ" Desktop Use Table ", Ġ" Desktop Ġtable Ġin Ġuse "), ĊĠĠĠ ĠDesktop Use List (" on Desktop Use List ", ĠNOT IFY _ ON Ġ+ Ġ" Desktop Use List ", Ġ" Desktop Ġlist Ġin Ġuse "), ĊĊĠĠĠ ĠW s Start (" on Ws Start ", ĠNOT IFY _ ON Ġ+ Ġ" Ws Start ", Ġ" Web Ġservice Ġinvoked "), ĊĠĠĠ ĠW s Complete (" on Ws Complete ", ĠNOT IFY _ ON Ġ+ Ġ" Ws Complete ", Ġ" Web Ġservice Ġcompleted "), ĊĊĠĠĠ ĠR dbms Start (" on R dbms Start ", ĠNOT IFY _ ON Ġ+ Ġ" R dbms Start ", Ġ" SQL Ġquery Ġstarted "), ĊĠĠĠ ĠR dbms Complete (" on R dbms Complete ", ĠNOT IFY _ ON Ġ+ Ġ" R dbms Complete ", Ġ" SQL Ġquery Ġcompleted "); ĊĊĠĠĠ Ġoverride Ġfun ĠtoString (): ĠString Ġ= ĠeventName ĊĊĠĠĠ Ġobject ĠUtils Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġevent Id : ĠString Ġ= ĠRandom StringUtils . random Al phanumeric ( 1 0 ) ĊĠĠĠ Ġ} Ċ } Ċ