Class Rule
java.lang.Object
hudson.model.AbstractDescribableImpl<Rule>
pl.damianszczepanik.jenkins.buildhistorymanager.model.Rule
- All Implemented Interfaces:
Describable<Rule>
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
void
initialize
(String uniquePerformName) Resets local counters and variables before processing conditions and actions.void
performActions
(Run<?, ?> run) void
setContinueAfterMatch
(boolean continueAfterMatch) void
setMatchAtMost
(int matchAtMost) boolean
validateConditions
(Run<?, ?> run) Checks if passed build matches with all conditions from this rule.Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
Rule
-
-
Method Details
-
getConditions
-
getActions
-
setMatchAtMost
@DataBoundSetter public void setMatchAtMost(int matchAtMost) -
getMatchAtMost
public int getMatchAtMost() -
setContinueAfterMatch
@DataBoundSetter public void setContinueAfterMatch(boolean continueAfterMatch) -
getContinueAfterMatch
public boolean getContinueAfterMatch() -
initialize
Resets local counters and variables before processing conditions and actions. -
validateConditions
Checks if passed build matches with all conditions from this rule.- Parameters:
run
- build to validate- Returns:
true
if all conditions match otherwisefalse
-
performActions
- Throws:
IOException
InterruptedException
-