com.atlassian.johnson
Class JohnsonEventContainer
java.lang.Object
com.atlassian.johnson.JohnsonEventContainer
public class JohnsonEventContainer
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVLET_CONTEXT_KEY
public static String SERVLET_CONTEXT_KEY
JohnsonEventContainer
public JohnsonEventContainer()
get
public static JohnsonEventContainer get(javax.servlet.ServletContext context)
hasEvents
public boolean hasEvents()
- Determine if there are Application Error Events
- Returns:
- true if there are application errors otherwise false
addEvent
public void addEvent(Event event)
- Adds an application event to the events Map
- Parameters:
event - New Event
removeEvent
public void removeEvent(Event event)
- Removes an application event from the events Map
- Parameters:
event - Event to be removed
getEvents
public Collection getEvents()
- Gets a collection of the Event objects
- Returns: