Package com.atlassian.jira.plugin
Class PluginVersionImpl
java.lang.Object
com.atlassian.jira.plugin.PluginVersionImpl
- All Implemented Interfaces:
PluginVersion,Serializable
- Since:
- v3.13
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUsed to create a representation of a PluginVersion which is stored in database.PluginVersionImpl(String key, String name, String version, Date created) Used to create a representation of a PluginVersion when the persistent id is not known. -
Method Summary
-
Constructor Details
-
PluginVersionImpl
Used to create a representation of a PluginVersion when the persistent id is not known.- Parameters:
key- plugin key.name- plugin name.version- plugin version.created- date this is being created
-
PluginVersionImpl
Used to create a representation of a PluginVersion which is stored in database.- Parameters:
id- the database id of the stored record.key- plugin key.name- plugin name.version- plugin version.created- date this is being created
-
-
Method Details
-
getId
- Specified by:
getIdin interfacePluginVersion- Returns:
- the id of the PluginVersion record.
-
getKey
- Specified by:
getKeyin interfacePluginVersion- Returns:
- the string representing the plugins key. This is the key that you can access the plugin with
via a call to
PluginAccessor.getPlugin(String).
-
getName
- Specified by:
getNamein interfacePluginVersion- Returns:
- the descriptive name of the plugin.
-
getVersion
- Specified by:
getVersionin interfacePluginVersion- Returns:
- a string representing the version of the plugin.
-
getCreated
- Specified by:
getCreatedin interfacePluginVersion- Returns:
- the date this plugin version was added/updated in the database.
-
toString
-
equals
-
hashCode
public int hashCode()
-