Class 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:
    Serialized Form
    • Constructor Detail

      • 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 Detail

      • 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