程序包 com.alazeprt
类 ExternalDependency
java.lang.Object
com.alazeprt.Dependency
com.alazeprt.ExternalDependency
Represents a Maven dependency and provides methods for retrieving sub-dependencies.
Also provides methods for parsing dependency information and obtaining URLs.
-
构造器概要
构造器构造器说明ExternalDependency(String dependency) Initializes a dependency with default central URL.ExternalDependency(String groupId, String artifactId, String version) Initializes a dependency using groupId, artifactId, and version. -
方法概要
修饰符和类型方法说明Gets the shortening name of the dependency.booleanIs this class a class that needs to be downloaded externallyParses and constructs the URL of the dependency.从类继承的方法 com.alazeprt.Dependency
getSubDependencies
-
构造器详细资料
-
ExternalDependency
Initializes a dependency with default central URL.- 参数:
dependency- Shortening name of the dependency
-
ExternalDependency
Initializes a dependency using groupId, artifactId, and version.- 参数:
groupId- GroupId of the dependencyartifactId- ArtifactId of the dependencyversion- Version of the dependency
-
-
方法详细资料
-
parseDependency
Parses and constructs the URL of the dependency.- 返回:
- URL where the dependency is located
-
isExternal
public boolean isExternal()从类复制的说明:DependencyIs this class a class that needs to be downloaded externally- 指定者:
isExternal在类中Dependency- 返回:
- Whether it is an external dependency class
-
getDependency
从类复制的说明:DependencyGets the shortening name of the dependency.- 覆盖:
getDependency在类中Dependency- 返回:
- Dependency shortening name
-