public class Dependency extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Dependency.DependencyBuilder
A builder of dependencies.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Dependency() |
protected |
Dependency(org.apache.maven.model.Dependency dependency) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Equals method implementation for a dependency.
|
String |
getArtifactId()
Retrieves the dependency artifact id.
|
String |
getClassifier()
Retrieves the dependency classifier.
|
String |
getGroupId()
Retrieves the dependency group id.
|
protected org.apache.maven.model.Dependency |
getInnerModel()
Retrieves the dependency model represented by a maven core object.
|
String |
getScope()
Retrieves the dependency scope.
|
String |
getType()
Retrieves the dependency type.
|
String |
getVersion()
Retrieves the dependency version.
|
int |
hashCode() |
void |
setArtifactId(String artifactId)
Sets the dependency artifact id.
|
void |
setClassifier(String classifier)
Sets the dependency classifier.
|
void |
setGroupId(String groupId)
Sets the dependency group id.
|
void |
setScope(String scope)
Sets the dependency scope.
|
void |
setType(String type)
Sets the dependency type.
|
void |
setVersion(String version)
Sets the dependency version.
|
protected Dependency(org.apache.maven.model.Dependency dependency)
protected Dependency()
protected org.apache.maven.model.Dependency getInnerModel()
public boolean equals(Object o)
public void setArtifactId(String artifactId)
artifactId - public void setGroupId(String groupId)
groupId - public void setVersion(String version)
version - public void setClassifier(String classifier)
classifier - public void setType(String type)
type - public void setScope(String scope)
scope - Copyright © 2018 MuleSoft Inc. All rights reserved.