Interface BuildNumberUpgradeConstraint

All Known Implementing Classes:
IsNewerThan, IsNewerThanAndConfiguredNumberHighEnough

public interface BuildNumberUpgradeConstraint
Represents a build number related constraint to be tested against an UpgradeTask which decides whether the task should apply or not.
Since:
4.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(int buildNumber)
     
  • Method Details

    • test

      boolean test(int buildNumber)
      Parameters:
      buildNumber - the build number to test the constraint against.
      Returns:
      true if the constraint passes or false if it fails.