java.lang.Object
hudson.model.AbstractDescribableImpl<Condition>
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.Condition
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.MatchEveryBuildCondition
All Implemented Interfaces:
Describable<Condition>

public class MatchEveryBuildCondition extends Condition
Matches every build.
Author:
Damian Szczepanik (damianszczepanik@github)
  • Constructor Details

    • MatchEveryBuildCondition

      @DataBoundConstructor public MatchEveryBuildCondition()
  • Method Details

    • matches

      public boolean matches(Run<?,?> run, RuleConfiguration configuration)
      Description copied from class: Condition
      Decides if the build matches given criteria to be updated or not.
      Specified by:
      matches in class Condition
      Parameters:
      run - build which should be evaluated
      configuration - configuration from the role
      Returns:
      true if the build matches given criteria, otherwise false