Class VersionedPluginMeta

java.lang.Object
de.xima.fc.mdl.plugin.VersionedPluginMeta
All Implemented Interfaces:
Serializable

@Immutable public final class VersionedPluginMeta extends Object implements Serializable
A target plugin that is to be updated. Contains the name of an updated plugin, with the plugin's ID and its name. Instances of this class are equated by PluginMeta.getEntityId().
Since:
8.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • VersionedPluginMeta

      public VersionedPluginMeta(PluginMeta pluginMeta, String version)
      Creates a new POJO with the given data.
      Parameters:
      pluginMeta - Base meta data of the plugin with the key and entity ID.
      version - Version of the plugin.
  • Method Details

    • equals

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

      public PluginMeta getPluginMeta()
      Gets the base meta data with the ID and key.
      Returns:
      The base meta data with the ID and key.
    • getVersion

      public String getVersion()
      Gets the version of the plugin.
      Returns:
      The version of the plugin.
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object