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 aValidationContext
based 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 ValidationContext
getContainerValidationContext()
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:ValidationContext
Returns the validation context of the container package.- Specified by:
getContainerValidationContext
in interfaceValidationContext
- Overrides:
getContainerValidationContext
in classArchiveValidationContext
- Returns:
- the validation context of the container in case this is the context of a sub package otherwise
null
.
-
-