| Constructor and Description |
|---|
Rule(List<Condition> conditions,
List<Action> actions) |
| Modifier and Type | Method and Description |
|---|---|
List<Action> |
getActions() |
List<Condition> |
getConditions() |
boolean |
getContinueAfterMatch() |
int |
getMatchAtMost() |
void |
initialize()
Resets local counters and variables before processing conditions and actions.
|
void |
performActions(hudson.model.Run<?,?> run) |
void |
setContinueAfterMatch(boolean continueAfterMatch) |
void |
setMatchAtMost(int matchAtMost) |
boolean |
validateConditions(hudson.model.Run<?,?> run)
Checks if passed build matches with all conditions from this rule.
|
@DataBoundSetter public void setMatchAtMost(int matchAtMost)
public int getMatchAtMost()
@DataBoundSetter public void setContinueAfterMatch(boolean continueAfterMatch)
public boolean getContinueAfterMatch()
public void initialize()
public boolean validateConditions(hudson.model.Run<?,?> run)
run - build to validatetrue if all conditions match otherwise falsepublic void performActions(hudson.model.Run<?,?> run)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2016–2019. All rights reserved.