Class ArchiveValidationContext

    • Method Detail

      • getProperties

        @NotNull
        public @NotNull PackageProperties getProperties()
        Description copied from interface: ValidationContext
        Returns the package properties.
        Returns:
        the package properties or some exception in case none could be found (will always point to the root package's properties).
      • getFilter

        @NotNull
        public @NotNull WorkspaceFilter getFilter()
        Description copied from interface: ValidationContext
        Returns the workspace filter
        Returns:
        the filter
      • getContainerValidationContext

        public ValidationContext getContainerValidationContext()
        Description copied from interface: ValidationContext
        Returns the validation context of the container package.
        Returns:
        the validation context of the container in case this is the context of a sub package otherwise null.
      • getPackageRootPath

        @NotNull
        public @NotNull Path getPackageRootPath()
        Description copied from interface: ValidationContext
        Returns the root path of the package.
        Returns:
        either the path to the ZIP file or a directory containing an exploded package. For subpackages starts with the package root path of the root container and appends each sub container package root path with the default separator.
      • getDependenciesPackageInfo

        @NotNull
        public @NotNull Collection<PackageInfo> getDependenciesPackageInfo()
        Description copied from interface: ValidationContext
        PackageInfo for all resolved package dependencies. In contrast to PackageProperties.getDependencies() the resolved dependencies also carry the main metadata (next to their coordinates).
        Returns:
        the package info of all resolved package dependencies (i.e. the ones for which an artifact was found).