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
public class SubPackageInArchiveValidationContext extends ArchiveValidationContext
Implements aValidationContextbased on a sub package given through anArchive.
-
-
Field Summary
-
Fields inherited from class org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
attributes
-
-
Constructor Summary
Constructors Constructor Description SubPackageInArchiveValidationContext(@NotNull ArchiveValidationContext containerPackageContext, @NotNull Archive archive, @NotNull Path archivePath, @NotNull DependencyResolver resolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationContextgetContainerValidationContext()Returns the validation context of the container package.-
Methods inherited from class org.apache.jackrabbit.vault.validation.context.ArchiveValidationContext
getDependenciesPackageInfo, getFilter, getPackageRootPath, getProperties
-
Methods inherited from class org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
getAttribute, getAttributeNames, setAttribute
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.vault.validation.spi.ValidationContext
isIncremental
-
-
-
-
Constructor Detail
-
SubPackageInArchiveValidationContext
public SubPackageInArchiveValidationContext(@NotNull @NotNull ArchiveValidationContext containerPackageContext, @NotNull @NotNull Archive archive, @NotNull @NotNull Path archivePath, @NotNull @NotNull DependencyResolver resolver) throws IOException- Throws:
IOException
-
-
Method Detail
-
getContainerValidationContext
public ValidationContext 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.
-
-