com.atlassian.jira.appconsistency
Class AppConsistencyEventContainer

java.lang.Object
  extended bycom.atlassian.jira.appconsistency.AppConsistencyEventContainer

public class AppConsistencyEventContainer
extends java.lang.Object


Field Summary
static java.lang.String APP_EVENT_CONTAINER
           
 
Constructor Summary
AppConsistencyEventContainer()
           
 
Method Summary
 void addEvent(AppConsistencyEvent event)
          Adds an application event to the events Map
static AppConsistencyEventContainer get(ServletContext context)
           
 java.util.Collection getEvents()
          Gets a collection of the AppConsistencyEvent objects
 boolean hasEvents()
          Determine if there are Application Error Events
 void removeEvent(AppConsistencyEvent event)
          Removes an application event from the events Map
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

APP_EVENT_CONTAINER

public static java.lang.String APP_EVENT_CONTAINER
Constructor Detail

AppConsistencyEventContainer

public AppConsistencyEventContainer()
Method Detail

get

public static AppConsistencyEventContainer get(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(AppConsistencyEvent event)
Adds an application event to the events Map

Parameters:
event - New AppConsistencyEvent

removeEvent

public void removeEvent(AppConsistencyEvent event)
Removes an application event from the events Map

Parameters:
event - AppConsistencyEvent to be removed

getEvents

public java.util.Collection getEvents()
Gets a collection of the AppConsistencyEvent objects

Returns: