Class DirectoryValidationContext
- java.lang.Object
-
- org.apache.jackrabbit.filevault.maven.packaging.impl.DirectoryValidationContext
-
- All Implemented Interfaces:
org.apache.jackrabbit.vault.validation.spi.ValidationContext
public class DirectoryValidationContext extends Object implements org.apache.jackrabbit.vault.validation.spi.ValidationContext
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 Summary
Constructors Constructor Description DirectoryValidationContext(boolean isIncremental, @NotNull Path generatedMetaInfRootDirectory, Path metaInfRootDirectory, @NotNull Path packageRootDirectory, DependencyResolver resolver, @NotNull org.apache.maven.plugin.logging.Log log)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jackrabbit.vault.validation.spi.ValidationContext
getContainerValidationContext()
@NotNull Collection<org.apache.jackrabbit.vault.packaging.PackageInfo>
getDependenciesPackageInfo()
@NotNull org.apache.jackrabbit.vault.fs.api.WorkspaceFilter
getFilter()
@NotNull Path
getPackageRootPath()
@NotNull org.apache.jackrabbit.vault.packaging.PackageProperties
getProperties()
boolean
isIncremental()
-
-
-
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()
- Specified by:
getProperties
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
getFilter
@NotNull public @NotNull org.apache.jackrabbit.vault.fs.api.WorkspaceFilter getFilter()
- Specified by:
getFilter
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
getContainerValidationContext
public org.apache.jackrabbit.vault.validation.spi.ValidationContext getContainerValidationContext()
- Specified by:
getContainerValidationContext
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
getPackageRootPath
@NotNull public @NotNull Path getPackageRootPath()
- Specified by:
getPackageRootPath
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
getDependenciesPackageInfo
@NotNull public @NotNull Collection<org.apache.jackrabbit.vault.packaging.PackageInfo> getDependenciesPackageInfo()
- Specified by:
getDependenciesPackageInfo
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
isIncremental
public boolean isIncremental()
- Specified by:
isIncremental
in interfaceorg.apache.jackrabbit.vault.validation.spi.ValidationContext
-
-