Package com.atlassian.jira.event.type

Examples of com.atlassian.jira.event.type.EventType


   */
  private void initialiseEventTypeIds(final EventTypeManager eventTypeManager) {
    final Collection eventTypes = eventTypeManager.getEventTypes();
    final Iterator eventTypeIterator = eventTypes.iterator();
    while (eventTypeIterator.hasNext()) {
      EventType eventType = (EventType) eventTypeIterator.next();
      final String eventName = eventType.getName();
      if (PRIORITY_1_INCIDENT_RAISED.equals(eventName)) {
        P1_RAISED_EVENT = eventType.getId();
      } else if (_50_RESPONSE_SLA_TIME_ELAPSED.equals(eventName)) {
        FIFTY_PERCENT_SLA_EVENT_ID = eventType.getId();
      } else if (RESPONSE_SLA_BREACHED.equals(eventName)) {
        SLA_BREACHED_EVENT_ID = eventType.getId();
      } else if (FIX_KPI_BREACHED.equals(eventName)) {
        FIX_KPI_BREACHED_EVENT_ID = eventType.getId();
      } else if (_50_FIX_KPI_TIME_ELAPSED.equals(eventName)) {
        FIFTY_PERCENT_FIX_KPI_EVENT_ID = eventType.getId();
      }
    }
    if (P1_RAISED_EVENT == null) {
      log.warn("Cannot find event named \"" + PRIORITY_1_INCIDENT_RAISED + "\"");
    }
View Full Code Here

TOP

Related Classes of com.atlassian.jira.event.type.EventType

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.