Package com.jakewharton.pingdom.enumerations

All Pingdom-defined enumerations which are used both in request responses as well as building remote requests.

See:
          Description

Enum Summary
AlertStatus Represents a Pingdom alert status enumeration.
AlertVia Represents a Pingdom alert via enumeration.
BannerType Represents a Pingdom banner type enumeration.
CheckStatus Represents a Pingdom check status enumeration.
CheckType Represents a Pingdom check type enumeration.
PerformanceResolution Represents a Pingdom performance resolution enumeration.
PublicReportMonths Represents a Pingdom public report months enumeration.
ReportFrequency Represents a Pingdom report frequency enumeration.
SharedReportType Represents a Pingdom shared report type enumeration.
SmsProvider Represents a Pingdom SMS provider enumeration.
StateStatus Represents a Pingdom state status enumeration.
 

Package com.jakewharton.pingdom.enumerations Description

All Pingdom-defined enumerations which are used both in request responses as well as building remote requests.

Serialization of these enumerations is handled by overriding the toString() method. Additionally, all enumerations must implement the PingdomEnumeration interface in order to be properly serialized.

Deserialization of an enumerable value requires registration with the GSON builder in the PingdomApiService.getGsonBuilder() method. An appropriate method of deserialization should be handled by a static method defined within the type, by convention, fromString(String).



Copyright © 2011 Jake Wharton. All Rights Reserved.