Class ExtensionStringData
- java.lang.Object
-
- com.djrapitops.plan.extension.implementation.results.ExtensionStringData
-
- All Implemented Interfaces:
DescribedExtensionData
public class ExtensionStringData extends java.lang.Object implements DescribedExtensionData
Represents double data returned by a DoubleProvider or PercentageProvider method.
-
-
Constructor Summary
Constructors Constructor Description ExtensionStringData(ExtensionDescription description, boolean playerName, java.lang.String value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtensionDescription
getDescription()
Get describing information about the data point.java.lang.String
getFormattedValue()
static ExtensionStringData
playerName(ExtensionDescription description, java.lang.String value)
static ExtensionStringData
regularString(ExtensionDescription description, java.lang.String value)
-
-
-
Constructor Detail
-
ExtensionStringData
public ExtensionStringData(ExtensionDescription description, boolean playerName, java.lang.String value)
-
-
Method Detail
-
regularString
public static ExtensionStringData regularString(ExtensionDescription description, java.lang.String value)
-
playerName
public static ExtensionStringData playerName(ExtensionDescription description, java.lang.String value)
-
getDescription
public ExtensionDescription getDescription()
Description copied from interface:DescribedExtensionData
Get describing information about the data point.- Specified by:
getDescription
in interfaceDescribedExtensionData
- Returns:
- a
ExtensionDescription
.
-
getFormattedValue
public java.lang.String getFormattedValue()
-
-