Class WhenConditionModel

java.lang.Object
io.jenkins.plugins.pipeline.models.AbstractModel
io.jenkins.plugins.pipeline.models.WhenConditionModel
All Implemented Interfaces:
ParsableModelInterface

public class WhenConditionModel extends AbstractModel implements ParsableModelInterface
Model Class for WhenModel Conditions
  • Constructor Details

    • WhenConditionModel

      public WhenConditionModel(String conditionName, List<String> whenRuleList)
      Parameters:
      conditionName - Name of the condition
      whenRuleList - List of rules
    • WhenConditionModel

      public WhenConditionModel(String conditionName, Optional<WhenConditionModel> whenConditionModel)
      Parameters:
      conditionName - Name of the condition
      whenConditionModel - WhenConditionModel
  • Method Details