Uses of Class
org.apache.jackrabbit.vault.packaging.PackageId
-
-
Uses of PackageId in org.apache.jackrabbit.vault.packaging
Fields in org.apache.jackrabbit.vault.packaging declared as PackageId Modifier and Type Field Description static PackageId[]PackageId. EMPTYMethods in org.apache.jackrabbit.vault.packaging that return PackageId Modifier and Type Method Description @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.PackageIdPackageProperties. getId()Returns the id of this package ornullif the id can't be determined.PackageIdVaultPackage. 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[]JcrPackageManager. usage(@NotNull PackageId id)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 PackageId Modifier and Type Method Description @NotNull Map<PackageId,URI>PackageProperties. getDependenciesLocations()Returns a map of dependency locations where key = package id and value = uri of package dependency with that id.static List<PackageId>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 PackageId Modifier and Type Method Description static 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.intPackageId. compareTo(PackageId o)Compares this id with the given one.SubPackageHandling.OptionSubPackageHandling. getOption(PackageId id)Gets the option from the entries list that matches the package last.booleanDependency. matches(@NotNull PackageId id)Checks 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 JcrPackageJcrPackageManager. open(@NotNull PackageId id)Opens a package with the given package id.voidJcrPackageDefinition. setId(@NotNull PackageId id, boolean autoSave)Writes the properties derived from the package id to the contentNoSuchPackageExceptionNoSuchPackageException. setId(PackageId id)PackageExistsExceptionPackageExistsException. setId(PackageId id)static StringPackageId. toString(PackageId... packs)Creates a comma separated list of id strings in the format<group>:<name>[:<version>].@NotNull PackageId[]JcrPackageManager. usage(@NotNull PackageId id)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 PackageId Modifier and Type Method Description static List<PackageId>DependencyUtil. 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 PackageId Constructor Description Dependency(@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 PackageId Modifier and Type Method Description @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 PackageId Modifier and Type Method Description voidPackageEventDispatcher. 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 PackageId Modifier and Type Method Description @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()PackageIdDefaultPackageInfo. getId()Returns the package id.PackageIdJcrPackageDefinitionImpl. getId()Returns the id of this package ornullif the id can't be determined.PackageIdPackagePropertiesImpl. getId()PackageId[]JcrPackageImpl. getResolvedDependencies()Returns a list of the installed packages that this package depends on.PackageIdJcrPackageManagerImpl. resolve(Dependency dependency, boolean onlyInstalled)Finds the id of the package that matches the given dependency best.PackageId[]JcrPackageManagerImpl. usage(PackageId id)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 PackageId Modifier and Type Method Description @NotNull Map<PackageId,URI>JcrPackageDefinitionImpl. getDependenciesLocations()Map<PackageId,URI>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 PackageId Modifier and Type Method Description JcrPackageJcrPackageManagerImpl. open(PackageId id)Opens a package with the given package id.voidJcrPackageDefinitionImpl. setId(PackageId id, boolean autoSave)Writes the properties derived from the package id to the contentPackageId[]JcrPackageManagerImpl. usage(PackageId id)Returns the package ids of installed packages that depend on the given package.Constructors in org.apache.jackrabbit.vault.packaging.impl with parameters of type PackageId Constructor Description DefaultPackageInfo(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 PackageId Modifier and Type Method Description @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 PackageIdPackageRegistry. register(@NotNull File file, boolean replace)Registers 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[]PackageRegistry. usage(@NotNull PackageId id)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 PackageId Modifier and Type Method Description @NotNull Set<PackageId>PackageRegistry. packages()Returns as set of all packages registered in this registry.@NotNull Set<PackageId>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 PackageId Modifier and Type Method Description @NotNull DependencyReportPackageRegistry. analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled)Creates a dependency report that lists the resolved and unresolved dependencies.booleanPackageRegistry. contains(@NotNull PackageId id)Checks if this registry contains the package with the given id.@Nullable RegisteredPackagePackageRegistry. open(@NotNull PackageId id)Opens the package with the given id.voidPackageRegistry. remove(@NotNull PackageId id)Removes the package from this registry.@NotNull PackageId[]PackageRegistry. usage(@NotNull PackageId id)Returns the package ids of installed packages that depend on the given package.@NotNull PackageTaskBuilderPackageTaskBuilder. with(@NotNull PackageId id)Sets the package id of this task.Method parameters in org.apache.jackrabbit.vault.packaging.registry with type arguments of type PackageId Modifier and Type Method Description @NotNull ExecutionPlanBuilderExecutionPlanBuilder. with(@NotNull Set<PackageId> externalPackages)Sets 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 PackageId Modifier and Type Method Description protected static PackageIdAbstractPackageRegistry. createRandomPid()Creates a random package id for packages that lack one.@NotNull PackageIdDependencyReportImpl. getId()PackageIdFsPackageProperties. getId()@NotNull PackageIdFSRegisteredPackage. getId()@NotNull PackageIdJcrRegisteredPackage. getId()PackageIdFSInstallState. getPackageId()@NotNull PackageIdPackageTaskImpl. getPackageId()@NotNull PackageId[]DependencyReportImpl. getResolvedDependencies()abstract PackageIdAbstractPackageRegistry. register(File file, boolean replace)Registers a package provided via a file.abstract PackageIdAbstractPackageRegistry. register(InputStream in, boolean replace)Registers a package provided via an input stream.@NotNull PackageIdCompositePackageRegistry. register(@NotNull File file, boolean replace)@NotNull PackageIdCompositePackageRegistry. register(@NotNull InputStream in, boolean replace)@NotNull PackageIdFSPackageRegistry. register(@NotNull File file, boolean replace)Registers a package provided via a file.@NotNull PackageIdFSPackageRegistry. register(@NotNull InputStream in, boolean replace)Registers a package provided via an input stream.@NotNull PackageIdJcrPackageRegistry. register(@NotNull File file, boolean replace)@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)PackageIdFSPackageRegistry. resolve(Dependency dependency, boolean onlyInstalled)Tries to resolve the given dependency and returns the id of the package that matches the dependency filter best.PackageIdJcrPackageRegistry. resolve(Dependency dependency, boolean onlyInstalled)@NotNull PackageId[]AbstractPackageRegistry. usage(PackageId id)Returns the package ids of installed packages that depend on the given package.@NotNull PackageId[]CompositePackageRegistry. usage(@NotNull PackageId id)Methods in org.apache.jackrabbit.vault.packaging.registry.impl that return types with arguments of type PackageId Modifier and Type Method Description Map<PackageId,SubPackageHandling.Option>FSInstallState. getSubPackages()abstract Set<PackageId>AbstractPackageRegistry. packages()Returns as set of all packages registered in this registry.@NotNull Set<PackageId>CompositePackageRegistry. packages()@NotNull Set<PackageId>FSPackageRegistry. packages()Returns as set of all packages registered in this registry.@NotNull Set<PackageId>JcrPackageRegistry. packages()Set<PackageId>ExecutionPlanBuilderImpl. preview()Methods in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type PackageId Modifier and Type Method Description @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 booleanAbstractPackageRegistry. contains(PackageId id)Checks if this registry contains the package with the given id.booleanCompositePackageRegistry. contains(@NotNull PackageId id)booleanFSPackageRegistry. contains(@NotNull PackageId id)booleanJcrPackageRegistry. contains(@NotNull PackageId id)@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.StringJcrPackageRegistry. 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 RegisteredPackageAbstractPackageRegistry. open(PackageId id)Opens the package with the given id.@Nullable RegisteredPackageCompositePackageRegistry. open(@NotNull PackageId id)@Nullable RegisteredPackageFSPackageRegistry. open(@NotNull PackageId id)@Nullable RegisteredPackageJcrPackageRegistry. open(@NotNull PackageId id)@Nullable JcrPackageJcrPackageRegistry. openJcrPackage(@NotNull PackageId id)protected @NotNull VaultPackageFSPackageRegistry. openPackageFile(@NotNull PackageId id)Opens the package of a file with the given Id.abstract voidAbstractPackageRegistry. remove(PackageId id)Removes the package from this registry.voidCompositePackageRegistry. remove(@NotNull PackageId id)voidFSPackageRegistry. remove(@NotNull PackageId id)Removes the package from this registry.voidJcrPackageRegistry. remove(@NotNull PackageId id)@NotNull PackageId[]AbstractPackageRegistry. usage(PackageId id)Returns the package ids of installed packages that depend on the given package.@NotNull PackageId[]CompositePackageRegistry. usage(@NotNull PackageId id)Method parameters in org.apache.jackrabbit.vault.packaging.registry.impl with type arguments of type PackageId Modifier and Type Method Description ExecutionPlanBuilderExecutionPlanBuilderImpl. with(Set<PackageId> externalPackages)FSInstallStateFSInstallState. withSubPackages(Map<PackageId,SubPackageHandling.Option> subPackages)Constructors in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type PackageId Constructor Description DependencyReportImpl(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 PackageId Modifier and Type Method Description @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).
-