public class ManifestMatcher extends Object implements VersionMatcher
| Constructor and Description |
|---|
ManifestMatcher(Manifest cfg)
Instantiates a new manifest matcher.
|
| Modifier and Type | Method and Description |
|---|---|
VersionRange |
getExcludes()
Gets the excluded versions range
|
VersionRange |
getIncludes()
Gets the included versions range
|
Map<Attributes.Name,String> |
getProperties()
Gets the properties.
|
boolean |
isApply()
Return true if this matcher should be applied!.
|
VersionMatchResult |
matches(DeploymentInfo info)
Return a version match result.
|
String |
toString() |
public ManifestMatcher(Manifest cfg) throws InvalidVersionSpecificationException
cfg - the cfgInvalidVersionSpecificationException - the invalid version specification exceptionpublic VersionRange getIncludes()
public VersionRange getExcludes()
public Map<Attributes.Name,String> getProperties()
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.