Uses of Class
org.apache.jackrabbit.vault.packaging.Dependency
-
Packages that use Dependency Package Description org.apache.jackrabbit.vault.packaging org.apache.jackrabbit.vault.packaging.impl org.apache.jackrabbit.vault.packaging.registry org.apache.jackrabbit.vault.packaging.registry.impl org.apache.jackrabbit.vault.validation.context Provides common implementations ofValidationContext
-
-
Uses of Dependency in org.apache.jackrabbit.vault.packaging
Fields in org.apache.jackrabbit.vault.packaging declared as Dependency Modifier and Type Field Description static Dependency[]
Dependency. EMPTY
An empty dependency arrayMethods in org.apache.jackrabbit.vault.packaging that return Dependency Modifier and Type Method Description static Dependency[]
DependencyUtil. add(@NotNull Dependency[] deps, @NotNull Dependency dep)
Adds an dependency to the give package if it is not already contained in the given list.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.static @NotNull Dependency[]
Dependency. fromString(@NotNull String... str)
Returns dependencies from the given strings.static @Nullable Dependency
Dependency. fromString(@Nullable String str)
Returns a dependency from a string.Dependency[]
PackageProperties. getDependencies()
Returns an unmodifiable list of dependencies@NotNull Dependency[]
JcrPackage. getUnresolvedDependencies()
Returns the dependencies that are not resolved.static @NotNull Dependency[]
Dependency. parse(@NotNull String str)
Parses a string serialization of dependencies generated bytoString(Dependency...)
.Methods in org.apache.jackrabbit.vault.packaging with parameters of type Dependency Modifier and Type Method Description static Dependency[]
DependencyUtil. add(@NotNull Dependency[] deps, @NotNull Dependency dep)
Adds an dependency to the give package if it is not already contained in the given list.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.static boolean
DependencyUtil. matches(@NotNull Dependency[] deps, @NotNull PackageId id)
Checks if any of the dependencies matches the given id@Nullable PackageId
JcrPackageManager. resolve(@NotNull Dependency dependency, boolean onlyInstalled)
Finds the id of the package that matches the given dependency best.void
JcrPackageDefinition. setDependencies(@NotNull Dependency[] dependencies, boolean autoSave)
Sets the dependencies to this definition and stores it in a node representation.static @NotNull String
Dependency. toString(@NotNull Dependency... deps)
Returns a string representation from given dependencies. -
Uses of Dependency in org.apache.jackrabbit.vault.packaging.impl
Methods in org.apache.jackrabbit.vault.packaging.impl that return Dependency Modifier and Type Method Description Dependency[]
JcrPackageDefinitionImpl. getDependencies()
Returns an unmodifiable list of dependenciesDependency[]
PackagePropertiesImpl. getDependencies()
Returns an unmodifiable list of dependenciesDependency[]
JcrPackageImpl. getUnresolvedDependencies()
Returns the dependencies that are not resolved.Methods in org.apache.jackrabbit.vault.packaging.impl with parameters of type Dependency Modifier and Type Method Description PackageId
JcrPackageManagerImpl. resolve(Dependency dependency, boolean onlyInstalled)
Finds the id of the package that matches the given dependency best.void
JcrPackageDefinitionImpl. setDependencies(@NotNull Dependency[] dependencies, boolean autoSave)
Sets the dependencies to this definition and stores it in a node representation. -
Uses of Dependency in org.apache.jackrabbit.vault.packaging.registry
Methods in org.apache.jackrabbit.vault.packaging.registry that return Dependency Modifier and Type Method Description @NotNull Dependency[]
RegisteredPackage. getDependencies()
Returns the dependencies of this package@NotNull Dependency[]
DependencyReport. getUnresolvedDependencies()
Returns the dependencies that are not resolved.Methods in org.apache.jackrabbit.vault.packaging.registry with parameters of type Dependency Modifier and Type Method Description @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. -
Uses of Dependency in org.apache.jackrabbit.vault.packaging.registry.impl
Methods in org.apache.jackrabbit.vault.packaging.registry.impl that return Dependency Modifier and Type Method Description Dependency[]
FsPackageProperties. getDependencies()
Dependency[]
FSRegisteredPackage. getDependencies()
Dependency[]
JcrRegisteredPackage. getDependencies()
@NotNull Dependency[]
DependencyReportImpl. getUnresolvedDependencies()
Methods in org.apache.jackrabbit.vault.packaging.registry.impl that return types with arguments of type Dependency Modifier and Type Method Description Set<Dependency>
FSInstallState. getDependencies()
Methods in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type Dependency Modifier and Type Method Description 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)
Method parameters in org.apache.jackrabbit.vault.packaging.registry.impl with type arguments of type Dependency Modifier and Type Method Description FSInstallState
FSInstallState. withDependencies(Set<Dependency> dependencies)
Constructors in org.apache.jackrabbit.vault.packaging.registry.impl with parameters of type Dependency Constructor Description DependencyReportImpl(PackageId id, Dependency[] unresolved, PackageId[] resolved)
-
Uses of Dependency in org.apache.jackrabbit.vault.validation.context
Methods in org.apache.jackrabbit.vault.validation.context with parameters of type Dependency Modifier and Type Method Description protected @Nullable PackageInfo
AbstractDependencyResolver. resolvePackageInfo(@NotNull Dependency dependency)
Uses some heuristics to map the package dependency to Maven coordinates.@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
).
-