Class Trend
java.lang.Object
com.djrapitops.plan.delivery.rendering.json.Trend
Represents a trend in the data - used for JSON format.
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
When a trend is reversed increase is "bad" (red) and decrease is "good" (green) -
Constructor Summary
-
Method Summary
-
Field Details
-
REVERSED
public static final boolean REVERSEDWhen a trend is reversed increase is "bad" (red) and decrease is "good" (green)- See Also:
- Constant Field Values
-
-
Constructor Details
-
Trend
public Trend(long before, long after, boolean reversed) -
Trend
-
Trend
-
-
Method Details
-
getText
-
getDirection
-
isReversed
public boolean isReversed()
-