Class VersionedPluginGroupMeta


  • @Immutable
    public final class VersionedPluginGroupMeta
    extends Object
    Groups all plugins with the same plugin key. There are plugins that consist of multiple files, these all have the same plugin key, but different file keys.
    Since:
    8.0.0
    Author:
    XIMA MEDIA GmbH
    • Constructor Detail

      • VersionedPluginGroupMeta

        public VersionedPluginGroupMeta​(String pluginKey,
                                        List<VersionedPluginMeta> plugins)
        Creates a new group with the given data.
        Parameters:
        pluginKey - Common plugin key of all plugins.
        plugins - All plugins with the same key.
    • Method Detail

      • toBaseMeta

        public PluginGroupMeta toBaseMeta()
        Converts this meta data to the base meta data without versions.
        Returns:
        This meta data without the version info.
      • getPluginKey

        public String getPluginKey()
        Returns:
        Key of the plugins.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object