diff options
author | Decebal Suiu <decebal.suiu@gmail.com> | 2017-06-29 23:50:45 +0300 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2017-06-29 23:50:45 +0300 |
commit | 84c856b3591b10b192bd6bb452d0760933a33b35 (patch) | |
tree | a0a03723bc420161431c98ff866b452ec88a2008 /pf4j/src | |
parent | 617508ffb5af30d43f12f0695515f1f90716bd14 (diff) | |
download | pf4j-84c856b3591b10b192bd6bb452d0760933a33b35.tar.gz pf4j-84c856b3591b10b192bd6bb452d0760933a33b35.zip |
Add javadoc for DependencyResolver class
Diffstat (limited to 'pf4j/src')
-rw-r--r-- | pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java index 65c2f33..3ab5526 100644 --- a/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java +++ b/pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java @@ -27,6 +27,15 @@ import java.util.List; import java.util.Map; /** + * This class builds a dependency graph for a list of plugins (descriptors). + * The entry point is the {@link #resolve(List)} method, method that returns a {@link Result} object. + * The {@code Result} class contains nice information about the result of resolve operation (if it's a cyclic dependency, + * they are not found dependencies, they are dependencies with wrong version). + * This class is very useful for if-else scenarios. + * + * Only some attributes (pluginId, dependencies and pluginVersion) from {@link PluginDescriptor} are used in + * the process of {@code resolve} operation. + * * @author Decebal Suiu */ public class DependencyResolver { |