Class VersionStreamRestriction

    • Constructor Detail

      • VersionStreamRestriction

        public VersionStreamRestriction​(VersionStream stream)
    • Method Detail

      • applies

        public boolean applies​(String version,
                               String originalVersion)
        Description copied from interface: Restriction
        Applies the restriction.
        Specified by:
        applies in interface Restriction
        Parameters:
        version - candidate version string
        originalVersion - original version string
        Returns:
        true if given version passed the restriction test (version can be considered candidate for upgrading)