public class ArtifactClusion extends Object
anded).| Constructor and Description |
|---|
ArtifactClusion()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static ArtifactClusion |
create(String groupId,
String artifactId)
Helper to create an instance.
|
String |
getArtifactId()
Returns the artifactId to match.
|
String |
getGroupId()
Returns the groupId to match.
|
MatchContext |
matches(org.eclipse.aether.artifact.Artifact artifact)
Checks if the clusion matches the artifact.
|
void |
setArtifactId(String artifactId)
Sets the artifactId to match.
|
void |
setGroupId(String groupId)
Sets the groupId to match.May be a regular expression.
|
String |
toString() |
public static ArtifactClusion create(String groupId, String artifactId)
groupId - the groupId to match. May be a regular expression.artifactId - the artifactId to match. May be a regular expression.public String getGroupId()
public void setGroupId(String groupId)
groupId - the groupId to match.public String getArtifactId()
public void setArtifactId(String artifactId)
artifactId - the artifactId to match.public MatchContext matches(org.eclipse.aether.artifact.Artifact artifact)
artifact - the artifact to match.true if the
artifact matches groupId and artifactId, false
otherwise.Copyright © 2013–2019 FuseSource. All rights reserved.