Class VersionStreamRestriction
- java.lang.Object
-
- org.jboss.set.mavendependencyupdater.rules.VersionStreamRestriction
-
- All Implemented Interfaces:
Restriction
public class VersionStreamRestriction extends Object implements Restriction
-
-
Constructor Summary
Constructors Constructor Description VersionStreamRestriction(VersionStream stream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapplies(String version, String originalVersion)Applies the restriction.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.set.mavendependencyupdater.rules.Restriction
applies
-
-
-
-
Constructor Detail
-
VersionStreamRestriction
public VersionStreamRestriction(VersionStream stream)
-
-
Method Detail
-
applies
public boolean applies(String version, String originalVersion)
Description copied from interface:RestrictionApplies the restriction.- Specified by:
appliesin interfaceRestriction- Parameters:
version- candidate version stringoriginalVersion- original version string- Returns:
- true if given version passed the restriction test (version can be considered candidate for upgrading)
-
-