public interface VaultPackage extends PackageProperties
NAME_AC_HANDLING, NAME_BUILD_COUNT, NAME_CND_PATTERN, NAME_CREATED, NAME_CREATED_BY, NAME_DEPENDENCIES, NAME_DESCRIPTION, NAME_DISABLE_INTERMEDIATE_SAVE, NAME_GROUP, NAME_LAST_MODIFIED, NAME_LAST_MODIFIED_BY, NAME_LAST_WRAPPED, NAME_LAST_WRAPPED_BY, NAME_NAME, NAME_REQUIRES_RESTART, NAME_REQUIRES_ROOT, NAME_SUB_PACKAGE_HANDLING, NAME_VERSION, PREFIX_INSTALL_HOOK
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this package and releases underlying data.
|
void |
extract(Session session,
ImportOptions opts)
Extracts the package contents to the repository
|
Archive |
getArchive()
Returns the underlying package archive
|
File |
getFile()
Returns the underlying file or
null if not available. |
PackageId |
getId()
Returns the id of this package or
null if the id can't
be determined. |
MetaInf |
getMetaInf()
Returns the meta inf that was either loaded or specified during build.
|
PackageProperties |
getProperties()
Returns the properties of this package.
|
long |
getSize()
Returns the size of the package or -1 if n/a.
|
boolean |
isClosed()
Checks if this package is closed.
|
boolean |
isValid()
Checks if this package is valid.
|
getACHandling, getCreated, getCreatedBy, getDateProperty, getDependencies, getDescription, getLastModified, getLastModifiedBy, getLastWrapped, getLastWrappedBy, getProperty, getSubPackageHandling, requiresRoot
PackageId getId()
null
if the id can't
be determined.getId
in interface PackageProperties
PackageProperties getProperties()
boolean isValid()
true
if this package is valid.boolean isClosed()
true
if this package is closed.MetaInf getMetaInf()
null
.long getSize()
void extract(Session session, ImportOptions opts) throws RepositoryException, PackageException
session
- repository sessionopts
- import optionsRepositoryException
- if a repository error during installation occurs.PackageException
- if an error during packaging occursIllegalStateException
- if the package is not valid.File getFile()
null
if not available.void close()
Archive getArchive()
null
if already closed"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"