Package de.xima.fc.mdl.plugin
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 byPluginMeta.getEntityId().- Since:
 - 8.0.0
 - Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description VersionedPluginMeta(PluginMeta pluginMeta, String version)Creates a new POJO with the given data. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)PluginMetagetPluginMeta()Gets the base meta data with the ID and key.StringgetVersion()Gets the version of the plugin.inthashCode()StringtoString() 
 - 
 
- 
- 
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.
 
 
 - 
 
 -