Interface MetaInf
- 
- All Known Implementing Classes:
 DefaultMetaInf
@ProviderType public interface MetaInfAbstracts the way of accessing the vault specific meta-info of a checkout. TODO: merge with packageInfo 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCREATEDName of the 'created' propertystatic java.lang.StringCREATED_BYName of the 'created by' propertystatic intFORMAT_VERSION_1Format Version 1.static intFORMAT_VERSION_2Format Version 2.static java.lang.StringGENERATORName of the 'generator' propertystatic java.lang.StringPACKAGE_FORMAT_VERSIONName of the package format version 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable VaultFsConfiggetConfig()Returns the vault config.@Nullable WorkspaceFiltergetFilter()Returns the workspace filter.@NotNull java.util.Collection<NodeTypeSet>getNodeTypes()Returns the node types.intgetPackageFormatVersion()Returns the package format version of this package.@NotNull PackagePropertiesgetPackageProperties()Returns the package properties.@Nullable PrivilegeDefinitionsgetPrivileges()Returns custom privileges defined in the meta inf.@Nullable java.util.PropertiesgetProperties()Returns the properties.@Nullable VaultSettingsgetSettings()Returns the vault settings.booleanhasDefinition()Checks if the meta-inf contains a serialized definition. 
 - 
 
- 
- 
Field Detail
- 
FORMAT_VERSION_1
static final int FORMAT_VERSION_1
Format Version 1. Used for content assembled until Vault 1.2.8- Since:
 - 2.0
 - See Also:
 - Constant Field Values
 
 
- 
FORMAT_VERSION_2
static final int FORMAT_VERSION_2
Format Version 2. Used for content assembled since Vault 1.2.9- Since:
 - 2.0
 - See Also:
 - Constant Field Values
 
 
- 
PACKAGE_FORMAT_VERSION
static final java.lang.String PACKAGE_FORMAT_VERSION
Name of the package format version- Since:
 - 2.0
 - See Also:
 - Constant Field Values
 
 
- 
CREATED
static final java.lang.String CREATED
Name of the 'created' property- See Also:
 - Constant Field Values
 
 
- 
CREATED_BY
static final java.lang.String CREATED_BY
Name of the 'created by' property- See Also:
 - Constant Field Values
 
 
- 
GENERATOR
static final java.lang.String GENERATOR
Name of the 'generator' property- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getPackageFormatVersion
int getPackageFormatVersion()
Returns the package format version of this package. If the package lacks this information,FORMAT_VERSION_2is returned, since this feature was implemented recently.- Returns:
 - the package format version
 - Since:
 - 2.0
 
 
- 
getSettings
@Nullable @Nullable VaultSettings getSettings()
Returns the vault settings.- Returns:
 - the vault settings
 
 
- 
getFilter
@Nullable @Nullable WorkspaceFilter getFilter()
Returns the workspace filter.- Returns:
 - the workspace filter
 
 
- 
getConfig
@Nullable @Nullable VaultFsConfig getConfig()
Returns the vault config.- Returns:
 - the vault config
 
 
- 
getProperties
@Nullable @Nullable java.util.Properties getProperties()
Returns the properties.- Returns:
 - the properties
 
 
- 
getPackageProperties
@NotNull @NotNull PackageProperties getPackageProperties()
Returns the package properties.- Returns:
 - the package properties
 
 
- 
getNodeTypes
@NotNull @NotNull java.util.Collection<NodeTypeSet> getNodeTypes()
Returns the node types.- Returns:
 - the node types
 
 
- 
getPrivileges
@Nullable @Nullable PrivilegeDefinitions 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:
 trueif it contains a serialized definition
 
 - 
 
 -