Added format of DataString for each DataType Enum

This commit is contained in:
Rsl1122 2016-12-19 23:36:12 +02:00
parent 728cfc1271
commit bbc6b7f05a
1 changed files with 14 additions and 1 deletions

View File

@ -2,5 +2,18 @@
package com.djrapitops.plan.api;
public enum DataType {
STRING, TIME, DATE, LOCATION, AMOUNT, AMOUNT_WITH_MAX, AMOUNT_WITH_LETTERS, BOOLEAN, PERCENT, OTHER, MAP, LINK, HEATMAP, DEPRECATED
STRING, // Any preformatted data & words
TIME, // Long in milliseconds
DATE, // Long in milliseconds since Epoch Date 1970
LOCATION, // X:# Y:# Z:#
AMOUNT, // Number
AMOUNT_WITH_MAX, // Example: 41 / 44
AMOUNT_WITH_LETTERS, // Example $50
BOOLEAN, // true/false
PERCENT, // Example 50%
OTHER, // Any data not listed here - will not be analyzed
MAP, // An image presentation of array in string format, no format yet
LINK, // Link to a webpage
HEATMAP, // An image presentation of array in string format, no format yet
DEPRECATED // Old data that has been rendered useless
}