public class MavenMatcher extends Object implements VersionMatcher
| Constructor and Description |
|---|
MavenMatcher(Maven cfg)
Instantiates a new maven matcher.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getArtifactId()
Gets the artifact id.
|
VersionRange |
getExcludes()
Gets the excluded versions range
|
String |
getGroupId()
Gets the group id.
|
VersionRange |
getIncludes()
Gets the included versions range.
|
boolean |
isApply()
Return true if this matcher should be applied!.
|
VersionMatchResult |
matches(DeploymentInfo info)
Return a version match result.
|
String |
toString() |
public MavenMatcher(Maven cfg) throws InvalidVersionSpecificationException
cfg - the Maven annotationInvalidVersionSpecificationException - the invalid version specification exceptionpublic VersionRange getIncludes()
public VersionRange getExcludes()
public String getArtifactId()
public String getGroupId()
public VersionMatchResult matches(DeploymentInfo info)
VersionMatcherVersionMatchResult.SKIPPED should be returned so the
next one will have a chance to decide.matches in interface VersionMatcherinfo - the infopublic boolean isApply()
VersionMatcherisApply in interface VersionMatcherCopyright © 2018. All rights reserved.