public static class LibraryDescriptor.Dependency.From extends Object implements LibraryDescriptor.Dependency
LibraryDescriptor.Dependency.From| Constructor and Description |
|---|
From(LibraryDescriptor lib)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId()
Dependency artifact id.
|
String |
getClassifier()
Dependency classifier.
|
List<Pair<String,String>> |
getExcludedDependencies()
Return a list of dependencies that should be ignored from this dependency, with pairs of groupId/artifactId.
|
String |
getGroupId()
Dependency group id.
|
URI |
getKnownLocation()
Return the dependency location if explicitly specified.
|
VersionSpecification |
getVersionSpecification()
Dependency version specification.
|
boolean |
isOptional()
Return true if the dependency is optional.
|
public From(LibraryDescriptor lib)
public String getGroupId()
LibraryDescriptor.DependencygetGroupId in interface LibraryDescriptor.Dependencypublic String getArtifactId()
LibraryDescriptor.DependencygetArtifactId in interface LibraryDescriptor.Dependencypublic VersionSpecification getVersionSpecification()
LibraryDescriptor.DependencygetVersionSpecification in interface LibraryDescriptor.Dependencypublic String getClassifier()
LibraryDescriptor.DependencygetClassifier in interface LibraryDescriptor.Dependencypublic boolean isOptional()
LibraryDescriptor.DependencyisOptional in interface LibraryDescriptor.Dependencypublic URI getKnownLocation()
LibraryDescriptor.DependencygetKnownLocation in interface LibraryDescriptor.Dependencypublic List<Pair<String,String>> getExcludedDependencies()
LibraryDescriptor.DependencygetExcludedDependencies in interface LibraryDescriptor.DependencyCopyright © 2019. All rights reserved.