public final class Dependency extends Object
Constructor and Description |
---|
Dependency(String groupId,
String artifactId,
String version,
String repoUrl) |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the artifact id of that dependency.
|
String |
getGroupId()
Returns the group id of that dependency.
|
String |
getRepoUrl()
Returns the repository, from where the dependency's being downloaded.
|
URL |
getUrl()
Returns the download url of the dependency.
|
String |
getVersion()
Returns the version of that dependency
|
String |
toString() |
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getRepoUrl()
public URL getUrl() throws MalformedURLException
MalformedURLException
- (taken from URL
: if no protocol is specified, or an
unknown protocol is found, or spec
is null
.)Copyright © 2019. All rights reserved.