Class DependencyReportImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.packaging.registry.impl.DependencyReportImpl
-
- All Implemented Interfaces:
DependencyReport
public class DependencyReportImpl extends Object implements DependencyReport
UsageReportImpl
...
-
-
Constructor Summary
Constructors Constructor Description DependencyReportImpl(PackageId id, Dependency[] unresolved, PackageId[] resolved)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull PackageId
getId()
The id of the package this report is created for.@NotNull PackageId[]
getResolvedDependencies()
Returns a list of the installed packages that this package depends on.@NotNull Dependency[]
getUnresolvedDependencies()
Returns the dependencies that are not resolved.
-
-
-
Constructor Detail
-
DependencyReportImpl
public DependencyReportImpl(PackageId id, Dependency[] unresolved, PackageId[] resolved)
-
-
Method Detail
-
getId
@NotNull public @NotNull PackageId getId()
Description copied from interface:DependencyReport
The id of the package this report is created for.- Specified by:
getId
in interfaceDependencyReport
- Returns:
- the package Id
-
getUnresolvedDependencies
@NotNull public @NotNull Dependency[] getUnresolvedDependencies()
Description copied from interface:DependencyReport
Returns the dependencies that are not resolved. If theDependencyHandling
is set to strict, the package will not installed if any unresolved dependencies are listed.- Specified by:
getUnresolvedDependencies
in interfaceDependencyReport
- Returns:
- the array of unresolved dependencies.
-
getResolvedDependencies
@NotNull public @NotNull PackageId[] getResolvedDependencies()
Description copied from interface:DependencyReport
Returns a list of the installed packages that this package depends on.- Specified by:
getResolvedDependencies
in interfaceDependencyReport
- Returns:
- the array of resolved dependencies
-
-