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. EMPTY
Methods 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 PackageId
PackageId. 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 PackageId
NoSuchPackageException. getId()
@Nullable PackageId
PackageExistsException. getId()
@NotNull PackageId
PackageInfo. getId()
Returns the package id.PackageId
PackageProperties. getId()
Returns the id of this package ornull
if the id can't be determined.PackageId
VaultPackage. getId()
Returns the id of this package ornull
if the id can't be determined.@NotNull PackageId[]
JcrPackage. getResolvedDependencies()
Returns a list of the installed packages that this package depends on.@Nullable PackageId
JcrPackageManager. 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.int
PackageId. compareTo(PackageId o)
Compares this id with the given one.SubPackageHandling.Option
SubPackageHandling. getOption(PackageId id)
Gets the option from the entries list that matches the package last.boolean
Dependency. matches(@NotNull PackageId id)
Checks if the given package id matches this dependency specification.static boolean
DependencyUtil. matches(@NotNull Dependency[] deps, @NotNull PackageId id)
Checks if any of the dependencies matches the given id@Nullable JcrPackage
JcrPackageManager. open(@NotNull PackageId id)
Opens a package with the given package id.void
JcrPackageDefinition. setId(@NotNull PackageId id, boolean autoSave)
Writes the properties derived from the package id to the contentNoSuchPackageException
NoSuchPackageException. setId(PackageId id)
PackageExistsException
PackageExistsException. setId(PackageId id)
static String
PackageId. 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 PackageId
PackageEvent. 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 void
PackageEventDispatcher. dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related)
Dispatches the events to the listeners.void
PackageEventDispatcherImpl. 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 PackageId
PackagePropertiesImpl. getCachedId()
PackageId
DefaultPackageInfo. getId()
Returns the package id.PackageId
JcrPackageDefinitionImpl. getId()
Returns the id of this package ornull
if the id can't be determined.PackageId
PackagePropertiesImpl. getId()
PackageId[]
JcrPackageImpl. getResolvedDependencies()
Returns a list of the installed packages that this package depends on.PackageId
JcrPackageManagerImpl. 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 JcrPackage
JcrPackageManagerImpl. open(PackageId id)
Opens a package with the given package id.void
JcrPackageDefinitionImpl. 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 PackageId
DependencyReport. getId()
The id of the package this report is created for.@NotNull PackageId
RegisteredPackage. getId()
Returns the id of this package@NotNull PackageId
PackageTask. 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 PackageId
PackageRegistry. register(@NotNull File file, boolean replace)
Registers a package provided via a file.@NotNull PackageId
PackageRegistry. register(@NotNull InputStream in, boolean replace)
Registers a package provided via an input stream.@NotNull PackageId
PackageRegistry. registerExternal(@NotNull File file, boolean replace)
Registers a package provided via an external file.@Nullable PackageId
PackageRegistry. 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 returnsPackageId
s 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 DependencyReport
PackageRegistry. analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled)
Creates a dependency report that lists the resolved and unresolved dependencies.boolean
PackageRegistry. contains(@NotNull PackageId id)
Checks if this registry contains the package with the given id.@Nullable RegisteredPackage
PackageRegistry. open(@NotNull PackageId id)
Opens the package with the given id.void
PackageRegistry. 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 PackageTaskBuilder
PackageTaskBuilder. 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 ExecutionPlanBuilder
ExecutionPlanBuilder. 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 PackageId
AbstractPackageRegistry. createRandomPid()
Creates a random package id for packages that lack one.@NotNull PackageId
DependencyReportImpl. getId()
PackageId
FsPackageProperties. getId()
@NotNull PackageId
FSRegisteredPackage. getId()
@NotNull PackageId
JcrRegisteredPackage. getId()
PackageId
FSInstallState. getPackageId()
@NotNull PackageId
PackageTaskImpl. getPackageId()
@NotNull PackageId[]
DependencyReportImpl. getResolvedDependencies()
abstract PackageId
AbstractPackageRegistry. register(File file, boolean replace)
Registers a package provided via a file.abstract PackageId
AbstractPackageRegistry. register(InputStream in, boolean replace)
Registers a package provided via an input stream.@NotNull PackageId
CompositePackageRegistry. register(@NotNull File file, boolean replace)
@NotNull PackageId
CompositePackageRegistry. register(@NotNull InputStream in, boolean replace)
@NotNull PackageId
FSPackageRegistry. register(@NotNull File file, boolean replace)
Registers a package provided via a file.@NotNull PackageId
FSPackageRegistry. register(@NotNull InputStream in, boolean replace)
Registers a package provided via an input stream.@NotNull PackageId
JcrPackageRegistry. register(@NotNull File file, boolean replace)
@NotNull PackageId
JcrPackageRegistry. register(@NotNull InputStream in, boolean replace)
abstract PackageId
AbstractPackageRegistry. registerExternal(File file, boolean replace)
Registers a package provided via an external file.@NotNull PackageId
CompositePackageRegistry. registerExternal(@NotNull File file, boolean replace)
@NotNull PackageId
FSPackageRegistry. registerExternal(@NotNull File file, boolean replace)
@NotNull PackageId
JcrPackageRegistry. registerExternal(@NotNull File file, boolean replace)
abstract PackageId
AbstractPackageRegistry. 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 PackageId
CompositePackageRegistry. resolve(@NotNull Dependency dependency, boolean onlyInstalled)
PackageId
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.PackageId
JcrPackageRegistry. 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 DependencyReport
AbstractPackageRegistry. analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled)
Creates a dependency report that lists the resolved and unresolved dependencies.@NotNull DependencyReport
CompositePackageRegistry. analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled)
@NotNull DependencyReport
FSPackageRegistry. analyzeDependencies(@NotNull PackageId id, boolean onlyInstalled)
Creates a dependency report that lists the resolved and unresolved dependencies.abstract boolean
AbstractPackageRegistry. contains(PackageId id)
Checks if this registry contains the package with the given id.boolean
CompositePackageRegistry. contains(@NotNull PackageId id)
boolean
FSPackageRegistry. contains(@NotNull PackageId id)
boolean
JcrPackageRegistry. contains(@NotNull PackageId id)
@NotNull JcrPackage
JcrPackageRegistry. createNew(@NotNull Node parent, @NotNull PackageId pid, @Nullable VaultPackage pack, boolean autoSave)
Creates a new jcr vault package.void
FSPackageRegistry. dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related)
Dispatches a package event using the configured dispatcher.void
JcrPackageRegistry. dispatch(PackageEvent.Type type, @NotNull PackageId id, @Nullable PackageId[] related)
Dispatches a package event using the configured dispatcher.String
JcrPackageRegistry. getInstallationPath(PackageId id)
Returns the primary path of this package.static String
AbstractPackageRegistry. getRelativeInstallationPath(PackageId id)
Returns the relative path of this package.abstract RegisteredPackage
AbstractPackageRegistry. open(PackageId id)
Opens the package with the given id.@Nullable RegisteredPackage
CompositePackageRegistry. open(@NotNull PackageId id)
@Nullable RegisteredPackage
FSPackageRegistry. open(@NotNull PackageId id)
@Nullable RegisteredPackage
JcrPackageRegistry. open(@NotNull PackageId id)
@Nullable JcrPackage
JcrPackageRegistry. openJcrPackage(@NotNull PackageId id)
protected @NotNull VaultPackage
FSPackageRegistry. openPackageFile(@NotNull PackageId id)
Opens the package of a file with the given Id.abstract void
AbstractPackageRegistry. remove(PackageId id)
Removes the package from this registry.void
CompositePackageRegistry. remove(@NotNull PackageId id)
void
FSPackageRegistry. remove(@NotNull PackageId id)
Removes the package from this registry.void
JcrPackageRegistry. 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 ExecutionPlanBuilder
ExecutionPlanBuilderImpl. with(Set<PackageId> externalPackages)
FSInstallState
FSInstallState. 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
).
-