Package com.djrapitops.plan.data.plugin
Class PluginData
- java.lang.Object
-
- com.djrapitops.plan.data.plugin.PluginData
-
@Deprecated public abstract class PluginData extends java.lang.Object
Deprecated.PluginData API has been deprecated - see https://github.com/plan-player-analytics/Plan/wiki/APIv5---DataExtension-API for new API.This is an abstract class that can be used to add data from a plugin to the "Plugins"-sections of Analysis and Inspect pages.API-section of documentation has examples on the usage of this class and how to register objects extending this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected AnalysisContainer
analysisData
Deprecated.
-
Constructor Summary
Constructors Constructor Description PluginData(ContainerSize size, java.lang.String sourcePlugin)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.java.lang.String
getHelpText()
Deprecated.abstract InspectContainer
getPlayerData(java.util.UUID uuid, InspectContainer fillThis)
Deprecated.abstract AnalysisContainer
getServerData(java.util.Collection<java.util.UUID> uuids, AnalysisContainer fillThis)
Deprecated.ContainerSize
getSize()
Deprecated.java.lang.String
getSourcePlugin()
Deprecated.java.lang.String
getWithIcon(java.lang.String text, Icon icon)
Deprecated.java.lang.String
getWithIcon(java.lang.String text, Icon.Builder builder)
Deprecated.java.lang.String
getWithIcon(java.lang.String text, java.lang.String icon)
Deprecated.UsegetWithIcon(String, Icon)
insteadjava.lang.String
getWithIcon(java.lang.String text, java.lang.String icon, java.lang.String color)
Deprecated.UsegetWithIcon(String, Icon)
insteadint
hashCode()
Deprecated.java.lang.String
parsePluginIcon()
Deprecated.void
setAnalysisData(AnalysisContainer analysisData)
Deprecated.protected void
setHelpText(java.lang.String html)
Deprecated.protected void
setIconColor(java.lang.String iconColor)
Deprecated.UsesetPluginIcon(Icon)
insteadprotected void
setPluginIcon(Icon pluginIcon)
Deprecated.protected void
setPluginIcon(java.lang.String pluginIcon)
Deprecated.UsesetPluginIcon(Icon)
instead
-
-
-
Field Detail
-
analysisData
protected AnalysisContainer analysisData
Deprecated.
-
-
Constructor Detail
-
PluginData
public PluginData(ContainerSize size, java.lang.String sourcePlugin)
Deprecated.
-
-
Method Detail
-
getPlayerData
public abstract InspectContainer getPlayerData(java.util.UUID uuid, InspectContainer fillThis) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
getServerData
public abstract AnalysisContainer getServerData(java.util.Collection<java.util.UUID> uuids, AnalysisContainer fillThis) throws java.lang.Exception
Deprecated.- Throws:
java.lang.Exception
-
setPluginIcon
protected final void setPluginIcon(Icon pluginIcon)
Deprecated.
-
setPluginIcon
@Deprecated protected final void setPluginIcon(java.lang.String pluginIcon)
Deprecated.UsesetPluginIcon(Icon)
instead
-
setIconColor
@Deprecated protected final void setIconColor(java.lang.String iconColor)
Deprecated.UsesetPluginIcon(Icon)
instead
-
getHelpText
public final java.lang.String getHelpText()
Deprecated.
-
parsePluginIcon
public final java.lang.String parsePluginIcon()
Deprecated.
-
getSize
public final ContainerSize getSize()
Deprecated.
-
getSourcePlugin
public final java.lang.String getSourcePlugin()
Deprecated.
-
setHelpText
protected final void setHelpText(java.lang.String html)
Deprecated.
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
getWithIcon
@Deprecated public final java.lang.String getWithIcon(java.lang.String text, java.lang.String icon)
Deprecated.UsegetWithIcon(String, Icon)
instead
-
getWithIcon
@Deprecated public final java.lang.String getWithIcon(java.lang.String text, java.lang.String icon, java.lang.String color)
Deprecated.UsegetWithIcon(String, Icon)
instead
-
getWithIcon
public final java.lang.String getWithIcon(java.lang.String text, Icon.Builder builder)
Deprecated.
-
getWithIcon
public final java.lang.String getWithIcon(java.lang.String text, Icon icon)
Deprecated.
-
setAnalysisData
public final void setAnalysisData(AnalysisContainer analysisData)
Deprecated.
-
-