Class ManifestMatcher

  • All Implemented Interfaces:
    VersionMatcher

    public class ManifestMatcher
    extends Object
    implements VersionMatcher
    The ManifestMatcher will parse and match a single @Manifest definition
    Author:
    alpapad@gmail.com
    • Method Detail

      • getIncludes

        public VersionRange getIncludes()
        Gets the included versions range
        Returns:
        the included versions range
      • getExcludes

        public VersionRange getExcludes()
        Gets the excluded versions range
        Returns:
        the excluded versions range
      • 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
      • 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