public class PackageVersion extends Object implements Identifier, Comparable<PackageVersion>
ApplicationInfo.| Constructor and Description |
|---|
PackageVersion(PackageInfo packageInfo,
boolean isInstalled,
boolean isDeletable) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PackageVersion o) |
String |
getAppNGVersion()
Returns the version of appNG the
Application is compatible with. |
Datasources |
getDatasources() |
String |
getDescription()
Returns the description.
|
String |
getDisplayName()
Returns the display name.
|
Integer |
getId()
Returns the id.
|
String |
getLongDescription()
Returns the description.
|
String |
getName()
Returns the name.
|
PackageInfo |
getPackageInfo() |
String |
getPackageVersion()
Returns the version.
|
Permissions |
getPermissions() |
Properties |
getProperties() |
Roles |
getRoles() |
String |
getTimestamp()
Returns the timestamp the
Application was build. |
Date |
getVersion()
Returns the version.
|
boolean |
isDeletable() |
boolean |
isInstalled()
Checks whether the
Application is installed. |
boolean |
isSnapshot()
Checks whether the
Application has a SNAPSHOT-version |
public PackageVersion(PackageInfo packageInfo, boolean isInstalled, boolean isDeletable)
public boolean isInstalled()
IdentifierApplication is installed.isInstalled in interface Identifiertrue if the Application is installed, false otherwisepublic boolean isDeletable()
public PackageInfo getPackageInfo()
public Integer getId()
IdentifiablegetId in interface Identifiable<Integer>public String getPackageVersion()
IdentifiergetPackageVersion in interface Identifierpublic String getDescription()
NameablegetDescription in interface Nameablepublic String getTimestamp()
IdentifierApplication was build.getTimestamp in interface IdentifierApplication was buildpublic String getDisplayName()
IdentifiergetDisplayName in interface Identifierpublic Date getVersion()
VersionablegetVersion in interface Versionable<Date>public String getLongDescription()
IdentifiergetLongDescription in interface Identifierpublic String getAppNGVersion()
IdentifierApplication is compatible with.getAppNGVersion in interface IdentifierApplication is compatible withpublic Roles getRoles()
public Permissions getPermissions()
public Properties getProperties()
public Datasources getDatasources()
public int compareTo(PackageVersion o)
compareTo in interface Comparable<PackageVersion>public boolean isSnapshot()
IdentifierApplication has a SNAPSHOT-versionisSnapshot in interface Identifiertrue if the Application has a SNAPSHOT-version, false otherwiseCopyright © 2011–2023 aiticon GmbH. All rights reserved.