Browse Source

Add javadoc for DependencyResolver class

tags/release-2.0.0
Decebal Suiu 7 years ago
parent
commit
84c856b359
1 changed files with 9 additions and 0 deletions
  1. 9
    0
      pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java

+ 9
- 0
pf4j/src/main/java/ro/fortsoft/pf4j/DependencyResolver.java View File

@@ -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 {

Loading…
Cancel
Save