Package org.hotswap.agent.versions
Interface VersionMatcher
-
- All Known Implementing Classes:
AbstractMatcher,ManifestMatcher,MavenMatcher,MethodMatcher,PluginMatcher
public interface VersionMatcherThe Interface VersionMatcher. VersionMatcher's are chained, multiple can be defined via annotations on a plugin class or specific plugin methods.- Author:
- alpapad@gmail.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisApply()Return true if this matcher should be applied!.VersionMatchResultmatches(DeploymentInfo info)Return a version match result.
-
-
-
Method Detail
-
isApply
boolean isApply()
Return true if this matcher should be applied!.- Returns:
- true, if is apply
-
matches
VersionMatchResult matches(DeploymentInfo info)
Return a version match result. When an implementation is unable to decide then aVersionMatchResult.SKIPPEDshould be returned so the next one will have a chance to decide.- Parameters:
info- the info- Returns:
- the version match result
-
-