Package de.xima.fc.mdl.plugin
Class VersionedPluginGroupMeta
- java.lang.Object
-
- de.xima.fc.mdl.plugin.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 Summary
Constructors Constructor Description VersionedPluginGroupMeta(String pluginKey, List<VersionedPluginMeta> plugins)
Creates a new group with the given data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getPluginKey()
List<VersionedPluginMeta>
getPlugins()
int
hashCode()
PluginGroupMeta
toBaseMeta()
Converts this meta data to the base meta data without versions.String
toString()
-
-
-
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.
-
getPlugins
public List<VersionedPluginMeta> getPlugins()
- Returns:
- All plugins with the same key.
-
-