Class 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.

    • 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.
        Use setPluginIcon(Icon) instead
      • setIconColor

        @Deprecated
        protected final void setIconColor​(java.lang.String iconColor)
        Deprecated.
        Use setPluginIcon(Icon) instead
      • getHelpText

        public final java.lang.String getHelpText()
        Deprecated.
      • parsePluginIcon

        public final java.lang.String parsePluginIcon()
        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 class java.lang.Object
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class java.lang.Object
      • getWithIcon

        @Deprecated
        public final java.lang.String getWithIcon​(java.lang.String text,
                                                  java.lang.String icon)
        Deprecated.
        Use getWithIcon(String, Icon) instead
      • getWithIcon

        @Deprecated
        public final java.lang.String getWithIcon​(java.lang.String text,
                                                  java.lang.String icon,
                                                  java.lang.String color)
        Deprecated.
        Use getWithIcon(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.