All Implemented Interfaces:
Describable<Condition>

public class CauseCondition extends Condition
Matches builds for which class name of Cause matches given class.
Author:
Damian Szczepanik (damianszczepanik@github)
  • Constructor Details

    • CauseCondition

      @DataBoundConstructor public CauseCondition()
  • Method Details

    • getCauseClass

      public String getCauseClass()
    • setCauseClass

      @DataBoundSetter public void setCauseClass(String causeClass)
    • 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