Class SubPackageInArchiveValidationContext
java.lang.Object
org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
org.apache.jackrabbit.vault.validation.context.ArchiveValidationContext
org.apache.jackrabbit.vault.validation.context.SubPackageInArchiveValidationContext
- All Implemented Interfaces:
ValidationContext
Implements a
ValidationContext based on a sub package given through an Archive.-
Field Summary
Fields inherited from class org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
attributes -
Constructor Summary
ConstructorsConstructorDescriptionSubPackageInArchiveValidationContext(@NotNull ArchiveValidationContext containerPackageContext, @NotNull Archive archive, @NotNull Path archivePath, @NotNull DependencyResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptionReturns the validation context of the container package.Methods inherited from class org.apache.jackrabbit.vault.validation.context.ArchiveValidationContext
getDependenciesPackageInfo, getFilter, getPackageRootPath, getPropertiesMethods inherited from class org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
getAttribute, getAttributeNames, setAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.jackrabbit.vault.validation.spi.ValidationContext
isIncremental
-
Constructor Details
-
SubPackageInArchiveValidationContext
public SubPackageInArchiveValidationContext(@NotNull @NotNull ArchiveValidationContext containerPackageContext, @NotNull @NotNull Archive archive, @NotNull @NotNull Path archivePath, @NotNull @NotNull DependencyResolver resolver) throws IOException - Throws:
IOException
-
-
Method Details
-
getContainerValidationContext
Description copied from interface:ValidationContextReturns the validation context of the container package.- Specified by:
getContainerValidationContextin interfaceValidationContext- Overrides:
getContainerValidationContextin classArchiveValidationContext- Returns:
- the validation context of the container in case this is the context of a sub package otherwise
null.
-