@ProviderType public interface RegisteredPackage extends java.lang.Comparable<RegisteredPackage>, java.lang.AutoCloseable
RegisteredPackage...| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this package and releases underlying data.
|
Dependency[] |
getDependencies()
Returns the dependencies of this package
|
PackageId |
getId()
Returns the id of this package
|
java.util.Calendar |
getInstallationTime()
Returns the date when the package was installed
|
VaultPackage |
getPackage()
Returns the vault package stored in the data of this package
|
PackageProperties |
getPackageProperties()
Returns the
PackageProperties of this package |
long |
getSize()
Returns the size of the underlying package.
|
WorkspaceFilter |
getWorkspaceFilter()
Returns the
WorkspaceFilter of this package |
boolean |
isInstalled()
Checks if this package is installed.
|
@Nonnull PackageId getId()
@Nonnull VaultPackage getPackage() throws java.io.IOException
java.io.IOException - if an I/O error occurs@Nonnull Dependency[] getDependencies()
@Nonnull WorkspaceFilter getWorkspaceFilter()
WorkspaceFilter of this packageWorkspaceFilter of this package@Nonnull PackageProperties getPackageProperties() throws java.io.IOException
PackageProperties of this packagePackageProperties of this packagejava.io.IOException - if an I/O error occurslong getSize()
boolean isInstalled()
true if this package is installed.@Nullable java.util.Calendar getInstallationTime()
null if not installed.void close()
close in interface java.lang.AutoCloseableCopyright © 2010 - 2023 Adobe. All Rights Reserved