Class PluginInfo

java.lang.Object
com.denodo.configuration.metadata.PluginInfo
All Implemented Interfaces:
Serializable

public class PluginInfo extends Object implements Serializable
Encapsulates the basic information of a plugin registered in the application. The plugin contains he metadata and the implementation of a custom element to be used by the application. The plugin could be loaded from the plugin folder or submsitted by the user.
See Also:
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      For interoperability with possible future changes.
      See Also:
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Obtains the unique identifier of the custom element implemented by this plugin. The name acts as the subType of the custom element too.
      Returns:
      the name
    • getType

      public String getType()
      Obtains the type of the custom element implemented by this plugin.
      Returns:
      the type
    • getPluginClass

      public String getPluginClass()
      Obtains the plugin class implementation.
      Returns:
      the plugin class implementation.
    • getJarFile

      public String getJarFile()
      Obtains the name of the jar file tha this plugin represents.
      Returns:
      the jarFile
    • isCore

      public boolean isCore()
      Returns whether this plugin is considered a core plugin.
      Returns:
      true if this plugin is considered a core plugin, false otherwise.
    • getId

      public Long getId()
    • getContent

      public byte[] getContent()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

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

      public String toString()
      Overrides:
      toString in class Object