/**
 * Robotlegs object lifecycle event
 */ export class LifecycleEvent { public static ERROR : string = "_error" ; public static STATE_CHANGE : string = "stateChange" ; public static PRE_INITIALIZE : string = "preInitialize" ; public static INITIALIZE : string = "initialize" ; public static POST_INITIALIZE : string = "postInitialize" ; public static PRE_SUSPEND : string = "preSuspend" ; public static SUSPEND : string = "suspend" ; public static POST_SUSPEND : string = "postSuspend" ; public static PRE_RESUME : string = "preResume" ; public static RESUME : string = "resume" ; public static POST_RESUME : string = "postResume" ; public static PRE_DESTROY : string = "preDestroy" ; public static DESTROY : string = "destroy" ; public static POST_DESTROY : string = "postDestroy" ; private _error : Error ; private _type : string ; private _target : any ; /**
     * Associated lifecycle error
     */ public get error ( ) : Error { return this . _error ; } /**
     * The type of event
     */ public get type ( ) : string { return this . _type ; } /**
     * The target of event
     */ public get target ( ) : any { return this . _target ; } public set target ( value ) { this . _target = value ; } param type param error constructor ( type , error ? ) { this . _type = type ; this . _error = error ; } inheritDoc public clone ( ) { return new LifecycleEvent ( this . type , this . error ) ; } }