public interface PackageProperties
META-INF/vault/properties.xml
or in the jar's manifest.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME_AC_HANDLING
Name of the 'acHandling' by meta-inf property.
|
static java.lang.String |
NAME_BUILD_COUNT
Name of the build count meta-inf property
|
static java.lang.String |
NAME_CND_PATTERN
Name of the 'cndPattern' by meta-inf property.
|
static java.lang.String |
NAME_CREATED
Name of the created meta-inf property
|
static java.lang.String |
NAME_CREATED_BY
Name of the created by meta-inf property
|
static java.lang.String |
NAME_DEPENDENCIES
Name of the dependencies meta-inf property
|
static java.lang.String |
NAME_DESCRIPTION
Name of the description meta-inf property
|
static java.lang.String |
NAME_DISABLE_INTERMEDIATE_SAVE
Name of the flag that indicates to disable intermediate saves.
|
static java.lang.String |
NAME_GROUP
Name of the group property
|
static java.lang.String |
NAME_LAST_MODIFIED
Name of the last modified meta-inf property
|
static java.lang.String |
NAME_LAST_MODIFIED_BY
Name of the last modified by meta-inf property
|
static java.lang.String |
NAME_LAST_WRAPPED
Name of the last wrapped meta-inf property
|
static java.lang.String |
NAME_LAST_WRAPPED_BY
Name of the last wrapped by meta-inf property
|
static java.lang.String |
NAME_NAME
Name of the 'name' property
|
static java.lang.String |
NAME_PACKAGE_TYPE
Name of the package-type property
|
static java.lang.String |
NAME_REQUIRES_RESTART
Name of the flag that indicates that the system needs a restart after
package extraction.
|
static java.lang.String |
NAME_REQUIRES_ROOT
Name of the flag that indicates in only admin sessions
can extract this package.
|
static java.lang.String |
NAME_SUB_PACKAGE_HANDLING
Name of the flag that configures the sub package handling
|
static java.lang.String |
NAME_USE_BINARY_REFERENCES
Name of the flag that configures whether to use binary references instead of actual binary
|
static java.lang.String |
NAME_VERSION
Name of the version meta-inf property
|
static java.lang.String |
PREFIX_INSTALL_HOOK
the prefix for an install hook property.
|
Modifier and Type | Method and Description |
---|---|
AccessControlHandling |
getACHandling()
Returns the access control handling defined in this package.
|
java.util.Calendar |
getCreated()
Returns the date when this package was built or
null if n/a. |
java.lang.String |
getCreatedBy()
Returns the user that built this package or null if n/a.
|
java.util.Calendar |
getDateProperty(java.lang.String name)
Returns the date property with the given name or
null if it does not exist or if the value cannot be
converted to a date. |
Dependency[] |
getDependencies()
Returns an unmodifiable list of dependencies
|
java.lang.String |
getDescription()
Returns a description of this package or
null if n/a |
PackageId |
getId()
Returns the id of this package or
null if the id can't
be determined. |
java.util.Calendar |
getLastModified()
Returns the last modification date or
null if n/a. |
java.lang.String |
getLastModifiedBy()
Returns the user that last modified the package or
null if n/a. |
java.util.Calendar |
getLastWrapped()
Returns the date when this package was wrapped or
null if n/a. |
java.lang.String |
getLastWrappedBy()
Returns the user that wrapped this package or null if n/a.
|
PackageType |
getPackageType()
Returns the package type or
null if not package type was specified for this package. |
java.lang.String |
getProperty(java.lang.String name)
Returns the property with the given name or
null if it does not exist. |
SubPackageHandling |
getSubPackageHandling()
Returns the sub package handling configuration
|
boolean |
requiresRoot()
Returns
true if this package can only be extracted by a
admin session. |
static final java.lang.String NAME_LAST_MODIFIED
static final java.lang.String NAME_LAST_MODIFIED_BY
static final java.lang.String NAME_GROUP
static final java.lang.String NAME_NAME
static final java.lang.String NAME_BUILD_COUNT
static final java.lang.String NAME_VERSION
static final java.lang.String NAME_DEPENDENCIES
static final java.lang.String NAME_CREATED
static final java.lang.String NAME_CREATED_BY
static final java.lang.String NAME_LAST_WRAPPED
static final java.lang.String NAME_LAST_WRAPPED_BY
static final java.lang.String NAME_AC_HANDLING
AccessControlHandling
,
Constant Field Valuesstatic final java.lang.String NAME_CND_PATTERN
static final java.lang.String NAME_DESCRIPTION
static final java.lang.String NAME_REQUIRES_ROOT
static final java.lang.String NAME_REQUIRES_RESTART
static final java.lang.String NAME_DISABLE_INTERMEDIATE_SAVE
static final java.lang.String NAME_SUB_PACKAGE_HANDLING
static final java.lang.String NAME_USE_BINARY_REFERENCES
static final java.lang.String NAME_PACKAGE_TYPE
static final java.lang.String PREFIX_INSTALL_HOOK
PackageId getId()
null
if the id can't
be determined.java.util.Calendar getLastModified()
null
if n/a.null
java.lang.String getLastModifiedBy()
null
if n/a.null
java.util.Calendar getCreated()
null
if n/a.java.lang.String getCreatedBy()
java.util.Calendar getLastWrapped()
null
if n/a.java.lang.String getLastWrappedBy()
java.lang.String getDescription()
null
if n/aboolean requiresRoot()
true
if this package can only be extracted by a
admin session.true
if this package requires an admin session for extraction.Dependency[] getDependencies()
AccessControlHandling getACHandling()
SubPackageHandling getSubPackageHandling()
java.util.Calendar getDateProperty(java.lang.String name)
null
if it does not exist or if the value cannot be
converted to a date.name
- the property namenull
java.lang.String getProperty(java.lang.String name)
null
if it does not exist.name
- the property namenull
PackageType getPackageType()
null
if not package type was specified for this package."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"