public enum AnalysisType extends Enum<AnalysisType>
Enum Constant and Description |
---|
BOOLEAN_PERCENTAGE
Used to calculate %-true for the returned boolean values of getValue().
|
BOOLEAN_TOTAL
Used to calculate number of true values for the returned boolean values
of getValue().
|
DOUBLE_AVG
Used when the getValue() method returns double and average should be
calculated
|
DOUBLE_TOTAL
Used when the getValue() method returns a double and total should be
calculated
|
HTML
Used to add html tags to the plugins tab.
|
INT_AVG
Used when the getValue() method returns an integer and average should be
calculated
|
INT_TOTAL
Used when the getValue() method returns an integer and total should be
calculated
|
LONG_AVG
Used when the getValue() method returns a long and average should be
calculated
|
LONG_EPOCH_MS_MINUS_NOW_AVG
Used when the getValue() method returns an Epoch Millisecond as long and
average of differences between the millisecond and current millisecond
should be calculated.
|
LONG_TIME_MS_AVG
Used when the getValue() method returns an amount of milliseconds as long
and average should be calculated
|
LONG_TIME_MS_TOTAL
Used when the getValue() method returns an amount of milliseconds as long
and total should be calculated
|
LONG_TOTAL
Used when the getValue() method returns a long and total should be
calculated
|
Modifier and Type | Method and Description |
---|---|
String |
getModifier()
Used to get the modifier for the Prefix of the value.
|
String |
getPlaceholderModifier()
Used to get the Placeholder modifier.
|
static AnalysisType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AnalysisType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalysisType INT_AVG
public static final AnalysisType LONG_AVG
public static final AnalysisType DOUBLE_AVG
public static final AnalysisType INT_TOTAL
public static final AnalysisType LONG_TOTAL
public static final AnalysisType DOUBLE_TOTAL
public static final AnalysisType LONG_TIME_MS_AVG
public static final AnalysisType LONG_TIME_MS_TOTAL
public static final AnalysisType LONG_EPOCH_MS_MINUS_NOW_AVG
public static final AnalysisType BOOLEAN_PERCENTAGE
public static final AnalysisType BOOLEAN_TOTAL
public static final AnalysisType HTML
AdvancedAchievementsTable
,
FactionsTable
,
TownyTable
public static AnalysisType[] values()
for (AnalysisType c : AnalysisType.values()) System.out.println(c);
public static AnalysisType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getModifier()
public String getPlaceholderModifier()
Copyright © 2017. All rights reserved.