AbstractFeedElement

Description

An abstract class representing an element in a feed. It contains a piece of information that is collected over time about a product.

Important public methods of this class are:

Key

Return Type

Description

getType

FeedTypeEnum

Returns the type of this feed element. The result can be OESIS_MONITOR_DEF_FEED, PRODUCT_VERSION_FEED or MOBILE_OS_VERSION_FEED.

compareTo

VersionComparisonResult

Compares this feed element to another feed element to determine which is the latest. This method is overridden by each child class to handle the comparison logic. Comparison result can be LESS_THAN, GREATER_THAN, EQUAL, CANNOT_COMPARE, LEFT_NULL, RIGHT_NULL, BOTH_NULL or UNKNOWN.

operator<

bool

Returns true if this feed element is older than/less than the feed element to be compared to and false otherwise.