View Javadoc

1   /*
2    * To change this template, choose Tools | Templates
3    * and open the template in the editor.
4    */
5   package org.kuali.mobility.events.entity;
6   
7   /**
8    *
9    * @author Nurul Haque Murshed <nurul.murshed@htcindia.com>
10   *
11   * GoogleCalendarSynchronizationStatus is an enumeration of possible
12   * synchronization statuses.
13   */
14  public enum GoogleCalendarSynchronizationStatus {  
15  
16      SUCCESS("events.googlecalendarsynchronization.success"),
17      MALFORMED_URL_EXCEPTION("events.googlecalendarsynchronization.malformedurl_exception"),
18      IOEXCEPTION("events.googlecalendarsynchronization.ioexception"),
19      AUTHENTICATION_EXCEPTION("events.googlecalendarsynchronization.authentication_exception"),
20      SERVICE_EXCEPTION("events.googlecalendarsynchronization.service_exception");
21      private String status;
22  
23      private GoogleCalendarSynchronizationStatus(String status) {
24          this.status = status;
25      }
26  
27      public String toString() {
28          return status;
29      }
30  }