Uses of Class
org.apache.jackrabbit.vault.packaging.PackageId
Packages that use PackageId
-
Uses of PackageId in org.apache.jackrabbit.vault.packaging
Fields in org.apache.jackrabbit.vault.packaging declared as PackageIdMethods in org.apache.jackrabbit.vault.packaging that return PackageIdModifier and TypeMethodDescription@NotNull PackageId[]JcrPackageManager.extract(@NotNull Archive archive, @NotNull ImportOptions options, boolean replace) Extracts a package directly from the given archive without uploading it to the repository first.@NotNull PackageId[]JcrPackage.extractSubpackages(@NotNull ImportOptions opts) Processes this package and extracts all sub packages.static PackageIdPackageId.fromString(String str) Returns a package id from an id string in the format<group>:<name>[:<version>].static PackageId[]PackageId.fromString(String... str) Returns an array of package id from strings.@Nullable PackageIdNoSuchPackageException.getId()@Nullable PackageIdPackageExistsException.getId()@NotNull PackageIdPackageInfo.getId()Returns the package id.PackageProperties.getId()Returns the id of this package ornullif the id can't be determined.VaultPackage.getId()Returns the id of this package ornullif the id can't be determined.@NotNull PackageId[]JcrPackage.getResolvedDependencies()Returns a list of the installed packages that this package depends on.@Nullable PackageIdJcrPackageManager.resolve(@NotNull Dependency dependency, boolean onlyInstalled) Finds the id of the package that matches the given dependency best.@NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.Methods in org.apache.jackrabbit.vault.packaging that return types with arguments of type PackageIdModifier and TypeMethodDescriptionPackageProperties.getDependenciesLocations()Returns a map of dependency locations where key = package id and value = uri of package dependency with that id.DependencyUtil.resolve(Map<PackageId, Dependency[]> list) Resolves a list of resolutions respecting their internal dependency references.Methods in org.apache.jackrabbit.vault.packaging with parameters of type PackageIdModifier and TypeMethodDescriptionstatic Dependency[]DependencyUtil.addExact(@NotNull Dependency[] deps, @NotNull PackageId id) Adds an exact dependency to the give package if it is not already contained in the given list.intCompares this id with the given one.Gets the option from the entries list that matches the package last.booleanChecks if the given package id matches this dependency specification.static booleanDependencyUtil.matches(@NotNull Dependency[] deps, @NotNull PackageId id) Checks if any of the dependencies matches the given id@Nullable JcrPackageOpens a package with the given package id.voidWrites the properties derived from the package id to the contentstatic StringCreates a comma separated list of id strings in the format<group>:<name>[:<version>].@NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.Method parameters in org.apache.jackrabbit.vault.packaging with type arguments of type PackageIdModifier and TypeMethodDescriptionDependencyUtil.resolve(Map<PackageId, Dependency[]> list) Resolves a list of resolutions respecting their internal dependency references.Constructors in org.apache.jackrabbit.vault.packaging with parameters of type PackageIdModifierConstructorDescriptionDependency(@NotNull PackageId id) Creates a new dependency to the specified package id -
Uses of PackageId in org.apache.jackrabbit.vault.packaging.events
Methods in org.apache.jackrabbit.vault.packaging.events that return PackageIdModifier and TypeMethodDescription@NotNull PackageIdPackageEvent.getId()Returns the id of the package@Nullable PackageId[]PackageEvent.getRelatedIds()Returns the related ids for certain events. -
Uses of PackageId in org.apache.jackrabbit.vault.packaging.events.impl
Methods in org.apache.jackrabbit.vault.packaging.events.impl with parameters of type PackageIdModifier and TypeMethodDescriptionvoidPackageEventDispatcher.dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related) Dispatches the events to the listeners.voidPackageEventDispatcherImpl.dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related) -
Uses of PackageId in org.apache.jackrabbit.vault.packaging.impl
Methods in org.apache.jackrabbit.vault.packaging.impl that return PackageIdModifier and TypeMethodDescription@NotNull PackageId[]JcrPackageManagerImpl.extract(@NotNull Archive archive, @NotNull ImportOptions options, boolean replace) Extracts a package directly from the given archive without uploading it to the repository first.@NotNull PackageId[]JcrPackageImpl.extractSubpackages(@NotNull ImportOptions opts) Processes this package and extracts all sub packages.protected @Nullable PackageIdPackagePropertiesImpl.getCachedId()DefaultPackageInfo.getId()Returns the package id.JcrPackageDefinitionImpl.getId()Returns the id of this package ornullif the id can't be determined.PackagePropertiesImpl.getId()JcrPackageImpl.getResolvedDependencies()Returns a list of the installed packages that this package depends on.JcrPackageManagerImpl.resolve(Dependency dependency, boolean onlyInstalled) Finds the id of the package that matches the given dependency best.Returns the package ids of installed packages that depend on the given package.Methods in org.apache.jackrabbit.vault.packaging.impl that return types with arguments of type PackageIdModifier and TypeMethodDescriptionJcrPackageDefinitionImpl.getDependenciesLocations()PackagePropertiesImpl.getDependenciesLocations()Returns a map of dependency locations where key = package id and value = uri of package dependency with that id.Methods in org.apache.jackrabbit.vault.packaging.impl with parameters of type PackageIdModifier and TypeMethodDescriptionOpens a package with the given package id.voidWrites the properties derived from the package id to the contentReturns the package ids of installed packages that depend on the given package.Constructors in org.apache.jackrabbit.vault.packaging.impl with parameters of type PackageIdModifierConstructorDescriptionDefaultPackageInfo(PackageId id, WorkspaceFilter filter, PackageType packageType) -
Uses of PackageId in org.apache.jackrabbit.vault.packaging.registry
Methods in org.apache.jackrabbit.vault.packaging.registry that return PackageIdModifier and TypeMethodDescription@NotNull PackageIdDependencyReport.getId()The id of the package this report is created for.@NotNull PackageIdRegisteredPackage.getId()Returns the id of this package@NotNull PackageIdPackageTask.getPackageId()Returns the package id of this task.@NotNull PackageId[]DependencyReport.getResolvedDependencies()Returns a list of the installed packages that this package depends on.@NotNull PackageIdRegisters a package provided via a file.@NotNull PackageIdPackageRegistry.register(@NotNull InputStream in, boolean replace) Registers a package provided via an input stream.@NotNull PackageIdPackageRegistry.registerExternal(@NotNull File file, boolean replace) Registers a package provided via an external file.@Nullable PackageIdPackageRegistry.resolve(@NotNull Dependency dependency, boolean onlyInstalled) Tries to resolve the given dependency and returns the id of the package that matches the dependency filter best.@NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.Methods in org.apache.jackrabbit.vault.packaging.registry that return types with arguments of type PackageIdModifier and TypeMethodDescriptionPackageRegistry.packages()Returns as set of all packages registered in this registry.ExecutionPlanBuilder.preview()Triggers validation and returnsPackageIds of all packages to be installed by this builderMethods in org.apache.jackrabbit.vault.packaging.registry with parameters of type PackageIdModifier and TypeMethodDescription@NotNull DependencyReportPackageRegistry.analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled) Creates a dependency report that lists the resolved and unresolved dependencies.booleanChecks if this registry contains the package with the given id.@Nullable RegisteredPackageOpens the package with the given id.voidRemoves the package from this registry.@NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.@NotNull PackageTaskBuilderSets the package id of this task.Method parameters in org.apache.jackrabbit.vault.packaging.registry with type arguments of type PackageIdModifier and TypeMethodDescription@NotNull ExecutionPlanBuilderSets packages handled externally ahead of execution for prevalidation of plan -
Uses of PackageId in org.apache.jackrabbit.vault.packaging.registry.impl
Methods in org.apache.jackrabbit.vault.packaging.registry.impl that return PackageIdModifier and TypeMethodDescriptionprotected static PackageIdAbstractPackageRegistry.createRandomPid()Creates a random package id for packages that lack one.@NotNull PackageIdDependencyReportImpl.getId()FsPackageProperties.getId()@NotNull PackageIdFSRegisteredPackage.getId()@NotNull PackageIdJcrRegisteredPackage.getId()FSInstallState.getPackageId()@NotNull PackageIdPackageTaskImpl.getPackageId()@NotNull PackageId[]DependencyReportImpl.getResolvedDependencies()abstract PackageIdRegisters a package provided via a file.abstract PackageIdAbstractPackageRegistry.register(InputStream in, boolean replace) Registers a package provided via an input stream.@NotNull PackageId@NotNull PackageIdCompositePackageRegistry.register(@NotNull InputStream in, boolean replace) @NotNull PackageIdRegisters a package provided via a file.@NotNull PackageIdFSPackageRegistry.register(@NotNull InputStream in, boolean replace) Registers a package provided via an input stream.@NotNull PackageId@NotNull PackageIdJcrPackageRegistry.register(@NotNull InputStream in, boolean replace) abstract PackageIdAbstractPackageRegistry.registerExternal(File file, boolean replace) Registers a package provided via an external file.@NotNull PackageIdCompositePackageRegistry.registerExternal(@NotNull File file, boolean replace) @NotNull PackageIdFSPackageRegistry.registerExternal(@NotNull File file, boolean replace) @NotNull PackageIdJcrPackageRegistry.registerExternal(@NotNull File file, boolean replace) abstract PackageIdAbstractPackageRegistry.resolve(Dependency dependency, boolean onlyInstalled) Tries to resolve the given dependency and returns the id of the package that matches the dependency filter best.@Nullable PackageIdCompositePackageRegistry.resolve(@NotNull Dependency dependency, boolean onlyInstalled) FSPackageRegistry.resolve(Dependency dependency, boolean onlyInstalled) Tries to resolve the given dependency and returns the id of the package that matches the dependency filter best.JcrPackageRegistry.resolve(Dependency dependency, boolean onlyInstalled) @NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.@NotNull PackageId[]Methods in org.apache.jackrabbit.vault.packaging.registry.impl that return types with arguments of type PackageIdModifier and TypeMethodDescriptionFSInstallState.getSubPackages()AbstractPackageRegistry.packages()Returns as set of all packages registered in this registry.CompositePackageRegistry.packages()FSPackageRegistry.packages()Returns as set of all packages registered in this registry.JcrPackageRegistry.packages()ExecutionPlanBuilderImpl.preview()Methods in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type PackageIdModifier and TypeMethodDescription@NotNull DependencyReportAbstractPackageRegistry.analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled) Creates a dependency report that lists the resolved and unresolved dependencies.@NotNull DependencyReportCompositePackageRegistry.analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled) @NotNull DependencyReportFSPackageRegistry.analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled) Creates a dependency report that lists the resolved and unresolved dependencies.abstract booleanChecks if this registry contains the package with the given id.booleanbooleanboolean@NotNull JcrPackageJcrPackageRegistry.createNew(@NotNull Node parent, @NotNull PackageId pid, @Nullable VaultPackage pack, boolean autoSave) Creates a new jcr vault package.voidFSPackageRegistry.dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related) Dispatches a package event using the configured dispatcher.voidJcrPackageRegistry.dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related) Dispatches a package event using the configured dispatcher.JcrPackageRegistry.getInstallationPath(PackageId id) Returns the primary path of this package. please note that since 2.3 this also includes the version, but never the extension (.zip).static StringAbstractPackageRegistry.getRelativeInstallationPath(PackageId id) Returns the relative path of this package. please note that since 2.3 this also includes the version, but never the extension (.zip).abstract RegisteredPackageOpens the package with the given id.@Nullable RegisteredPackage@Nullable RegisteredPackage@Nullable RegisteredPackage@Nullable JcrPackageJcrPackageRegistry.openJcrPackage(@NotNull PackageId id) protected @NotNull VaultPackageFSPackageRegistry.openPackageFile(@NotNull PackageId id) Opens the package of a file with the given Id.abstract voidRemoves the package from this registry.voidvoidRemoves the package from this registry.void@NotNull PackageId[]Returns the package ids of installed packages that depend on the given package.@NotNull PackageId[]Method parameters in org.apache.jackrabbit.vault.packaging.registry.impl with type arguments of type PackageIdModifier and TypeMethodDescriptionFSInstallState.withSubPackages(Map<PackageId, SubPackageHandling.Option> subPackages) Constructors in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type PackageIdModifierConstructorDescriptionDependencyReportImpl(PackageId id, Dependency[] unresolved, PackageId[] resolved) FSInstallState(@NotNull PackageId pid, @NotNull FSPackageStatus status, @NotNull Path filePath) -
Uses of PackageId in org.apache.jackrabbit.vault.validation.context
Method parameters in org.apache.jackrabbit.vault.validation.context with type arguments of type PackageIdModifier and TypeMethodDescription@NotNull Collection<PackageInfo>AbstractDependencyResolver.resolvePackageInfo(@NotNull Dependency[] dependencies, @NotNull Map<PackageId, URI> dependencyLocations) @NotNull Collection<PackageInfo>DependencyResolver.resolvePackageInfo(@NotNull Dependency[] dependencies, @NotNull Map<PackageId, URI> dependencyLocations) Resolves multiple package dependencies taking into account a map from package id to URI (given via package propertiesdependencies-locations).