Class DirectoryValidationContext

  • All Implemented Interfaces:
    org.apache.jackrabbit.vault.validation.spi.ValidationContext

    public class DirectoryValidationContext
    extends org.apache.jackrabbit.vault.validation.context.AbstractValidationContext
    Validation context built from files in two directories:
    • workDir, the directory in which the GenerateMetadataMojo has written all automatically generated files (must have name META-INF)
    • metaInfDir, the directory in which meta inf files have been manually written (must have name META-INF)
    • Constructor Detail

      • DirectoryValidationContext

        public DirectoryValidationContext​(boolean isIncremental,
                                          @NotNull
                                          @NotNull Path generatedMetaInfRootDirectory,
                                          Path metaInfRootDirectory,
                                          @NotNull
                                          @NotNull Path packageRootDirectory,
                                          DependencyResolver resolver,
                                          @NotNull
                                          @NotNull org.apache.maven.plugin.logging.Log log)
                                   throws IOException,
                                          org.apache.jackrabbit.vault.fs.config.ConfigurationException
        Throws:
        IOException
        org.apache.jackrabbit.vault.fs.config.ConfigurationException
    • Method Detail

      • getProperties

        @NotNull
        public @NotNull org.apache.jackrabbit.vault.packaging.PackageProperties getProperties()
      • getFilter

        @NotNull
        public @NotNull org.apache.jackrabbit.vault.fs.api.WorkspaceFilter getFilter()
      • getContainerValidationContext

        public org.apache.jackrabbit.vault.validation.spi.ValidationContext getContainerValidationContext()
      • getPackageRootPath

        @NotNull
        public @NotNull Path getPackageRootPath()
      • getDependenciesPackageInfo

        @NotNull
        public @NotNull Collection<org.apache.jackrabbit.vault.packaging.PackageInfo> getDependenciesPackageInfo()
      • isIncremental

        public boolean isIncremental()