Class PluginInformation

java.lang.Object
org.omegat.core.data.PluginInformation

public final class PluginInformation extends Object
Plugin information POJO data class.
  • Method Details

    • getClassName

      public String getClassName()
      Get the class name of the plugin entry point.
      Returns:
      className of plugin entry point
    • getName

      public String getName()
      Get the name of the plugin.
      Returns:
      name of plugin
    • getVersion

      public String getVersion()
      Get the version of the plugin.
      Returns:
      version of plugin
    • getDescription

      public String getDescription()
      Get the description of the plugin features.
      Returns:
      description of plugin features
    • getAuthor

      public String getAuthor()
      Get the author(s) of the plugin.
      Returns:
      the author(s) of the plugin
    • getCategory

      public PluginUtils.PluginType getCategory()
      Get the category type of the plugin.
      Returns:
      category type of plugin as PluginType enum
    • getLink

      public String getLink()
      Get the link URL of the plugin homepage.
      Returns:
      link URL of plugin homepage
    • getUrl

      public URL getUrl()
      Get the manifest URL of the plugin jar.
      Returns:
      manifest URL of plugin jar
    • isBundled

      public boolean isBundled()
      Returns:
      true if the plugin is bundled with OmegaT distribution, otherwise false when 3rd party plugin
    • getStatus

      public PluginInformation.Status getStatus()
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Returns:
      string expression of PluginInformation class.
    • hashCode

      public int hashCode()
      It is identical if status is differed.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode of plugin
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object