Interface MetaInf
- All Known Implementing Classes:
DefaultMetaInf
Abstracts the way of accessing the vault specific meta-info of a checkout.
TODO: merge with packageInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of the 'created' propertystatic final String
Name of the 'created by' propertystatic final int
Format Version 1.static final int
Format Version 2.static final String
Name of the 'generator' propertystatic final String
Name of the package format version -
Method Summary
Modifier and TypeMethodDescription@Nullable VaultFsConfig
Returns the vault config.@Nullable WorkspaceFilter
Returns the workspace filter.@NotNull Collection
<NodeTypeSet> Returns the node types.int
Returns the package format version of this package.@NotNull PackageProperties
Returns the package properties.@Nullable PrivilegeDefinitions
Returns custom privileges defined in the meta inf.@Nullable Properties
Returns the properties.@Nullable VaultSettings
Returns the vault settings.boolean
Checks if the meta-inf contains a serialized definition.
-
Field Details
-
FORMAT_VERSION_1
static final int FORMAT_VERSION_1Format Version 1. Used for content assembled until Vault 1.2.8- Since:
- 2.0
- See Also:
-
FORMAT_VERSION_2
static final int FORMAT_VERSION_2Format Version 2. Used for content assembled since Vault 1.2.9- Since:
- 2.0
- See Also:
-
PACKAGE_FORMAT_VERSION
Name of the package format version- Since:
- 2.0
- See Also:
-
CREATED
Name of the 'created' property- See Also:
-
CREATED_BY
Name of the 'created by' property- See Also:
-
GENERATOR
Name of the 'generator' property- See Also:
-
-
Method Details
-
getPackageFormatVersion
int getPackageFormatVersion()Returns the package format version of this package. If the package lacks this information,FORMAT_VERSION_2
is returned, since this feature was implemented recently.- Returns:
- the package format version
- Since:
- 2.0
-
getSettings
Returns the vault settings.- Returns:
- the vault settings
-
getFilter
Returns the workspace filter.- Returns:
- the workspace filter
-
getConfig
Returns the vault config.- Returns:
- the vault config
-
getProperties
Returns the properties.- Returns:
- the properties
-
getPackageProperties
Returns the package properties.- Returns:
- the package properties
-
getNodeTypes
Returns the node types.- Returns:
- the node types
-
getPrivileges
Returns custom privileges defined in the meta inf.- Returns:
- a collection of custom privileges
- Since:
- 3.0
-
hasDefinition
boolean hasDefinition()Checks if the meta-inf contains a serialized definition.- Returns:
true
if it contains a serialized definition
-