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()
Identifier
Application
is installed.isInstalled
in interface Identifier
true
if the Application
is installed, false
otherwisepublic boolean isDeletable()
public PackageInfo getPackageInfo()
public Integer getId()
Identifiable
getId
in interface Identifiable<Integer>
public String getPackageVersion()
Identifier
getPackageVersion
in interface Identifier
public String getDescription()
Nameable
getDescription
in interface Nameable
public String getTimestamp()
Identifier
Application
was build.getTimestamp
in interface Identifier
Application
was buildpublic String getDisplayName()
Identifier
getDisplayName
in interface Identifier
public Date getVersion()
Versionable
getVersion
in interface Versionable<Date>
public String getLongDescription()
Identifier
getLongDescription
in interface Identifier
public String getAppNGVersion()
Identifier
Application
is compatible with.getAppNGVersion
in interface Identifier
Application
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()
Identifier
Application
has a SNAPSHOT-versionisSnapshot
in interface Identifier
true
if the Application
has a SNAPSHOT-version, false
otherwiseCopyright © 2011–2023 aiticon GmbH. All rights reserved.