public class PluginVersionImpl extends Object implements PluginVersion
Constructor and Description |
---|
PluginVersionImpl(Long id,
String key,
String name,
String version,
Date created)
Used 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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getCreated() |
Long |
getId() |
String |
getKey() |
String |
getName() |
String |
getVersion() |
int |
hashCode() |
String |
toString() |
public PluginVersionImpl(String key, String name, String version, Date created)
key
- plugin key.name
- plugin name.version
- plugin version.created
- date this is being createdpublic PluginVersionImpl(Long id, String key, String name, String version, Date created)
id
- the database id of the stored record.key
- plugin key.name
- plugin name.version
- plugin version.created
- date this is being createdpublic Long getId()
getId
in interface PluginVersion
public String getKey()
getKey
in interface PluginVersion
PluginAccessor.getPlugin(String)
.public String getName()
getName
in interface PluginVersion
public String getVersion()
getVersion
in interface PluginVersion
public Date getCreated()
getCreated
in interface PluginVersion
Copyright © 2002-2021 Atlassian. All Rights Reserved.