001package org.intellimate.izou.events; 002 003/** 004 * This enum contains the different stages in the lifecycle of the Event. 005 * @author LeanderK 006 * @version 1.0 007 */ 008public enum EventLifeCycle { 009 /** 010 * gets called while the EventDistributor started the processing. 011 */ 012 START, 013 /** 014 * gets called when the EventsController approved the Event. 015 */ 016 APPROVED, 017 /** 018 * gets called when the EventsController canceled the Event. 019 */ 020 CANCELED, 021 /** 022 * gets called while the ResourceManager started generating the Resources. 023 */ 024 RESOURCE, 025 /** 026 * gets called while the EventListeners started getting notified. 027 */ 028 LISTENERS, 029 /** 030 * gets called while the OutputManager started the processing. 031 */ 032 OUTPUT, 033 /** 034 * gets called while the FinishedEventListeners got notified. 035 * This lifecycle does not fire when the Event got canceled. 036 */ 037 ENDED 038}