程序包 com.alazeprt
类 Dependency
java.lang.Object
com.alazeprt.Dependency
- 直接已知子类:
ExternalDependency,LocalDependency
The top-level abstract class of dependencies
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Gets the shortening name of the dependency.Recursively retrieves all sub-dependencies of this dependency.abstract booleanIs this class a class that needs to be downloaded externally
-
构造器详细资料
-
Dependency
Initializes a dependency.- 参数:
dependency- Shortening name of the dependency
-
-
方法详细资料
-
getSubDependencies
public List<Dependency> getSubDependencies() throws org.codehaus.plexus.util.xml.pull.XmlPullParserException, IOExceptionRecursively retrieves all sub-dependencies of this dependency.- 返回:
- List of all sub-dependencies that need to be downloaded (including itself)
- 抛出:
IOException- If unable to connect to the dependency's URLorg.codehaus.plexus.util.xml.pull.XmlPullParserException- If the XML file of the dependency cannot be parsed
-
isExternal
public abstract boolean isExternal()Is this class a class that needs to be downloaded externally- 返回:
- Whether it is an external dependency class
-
getDependency
Gets the shortening name of the dependency.- 返回:
- Dependency shortening name
-