Package org.apache.ivy.core.check
Class CheckEngine
- java.lang.Object
-
- org.apache.ivy.core.check.CheckEngine
-
public class CheckEngine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CheckEngine(CheckEngineSettings settings, ResolveEngine resolveEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check(java.net.URL ivyFile, java.lang.String resolvername)
Checks the given ivy file using current settings to see if all dependencies are available, with good confs.
-
-
-
Constructor Detail
-
CheckEngine
public CheckEngine(CheckEngineSettings settings, ResolveEngine resolveEngine)
-
-
Method Detail
-
check
public boolean check(java.net.URL ivyFile, java.lang.String resolvername)
Checks the given ivy file using current settings to see if all dependencies are available, with good confs. If a resolver name is given, it also checks that the declared publications are available in the corresponding resolver. Note that the check is not performed recursively, i.e. if a dependency has itself dependencies badly described or not available, this check will not discover it.- Parameters:
ivyFile
- URLresolvername
- String- Returns:
- boolean
-
-