Class AbstractMatcher

    • Field Detail

      • shouldApply

        protected boolean shouldApply
        The should apply.
    • Constructor Detail

      • AbstractMatcher

        public AbstractMatcher​(Versions versions)
        Instantiates a new abstract matcher.
        Parameters:
        versions - the versions
    • Method Detail

      • isApply

        public boolean isApply()
        Description copied from interface: VersionMatcher
        Return true if this matcher should be applied!.
        Specified by:
        isApply in interface VersionMatcher
        Returns:
        true, if is apply
      • matches

        public VersionMatchResult matches​(DeploymentInfo info)
        Description copied from interface: VersionMatcher
        Return a version match result. When an implementation is unable to decide then aVersionMatchResult.SKIPPED should be returned so the next one will have a chance to decide.
        Specified by:
        matches in interface VersionMatcher
        Parameters:
        info - the info
        Returns:
        the version match result