Class BuildResultCondition
java.lang.Object
hudson.model.AbstractDescribableImpl<Condition>
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.Condition
pl.damianszczepanik.jenkins.buildhistorymanager.model.conditions.BuildResultCondition
- All Implemented Interfaces:
Describable<Condition>
Matches builds that have expected build results.
- Author:
- Damian Szczepanik (damianszczepanik@github)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
boolean
boolean
matches
(Run<?, ?> run, RuleConfiguration configuration) Decides if the build matches given criteria to be updated or not.void
setMatchAborted
(boolean matchAborted) void
setMatchFailure
(boolean matchFailure) void
setMatchNotBuilt
(boolean matchNotBuilt) void
setMatchSuccess
(boolean matchSuccess) void
setMatchUnstable
(boolean matchUnstable) Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
BuildResultCondition
@DataBoundConstructor public BuildResultCondition()
-
-
Method Details
-
getMatchSuccess
public boolean getMatchSuccess() -
setMatchSuccess
@DataBoundSetter public void setMatchSuccess(boolean matchSuccess) -
getMatchUnstable
public boolean getMatchUnstable() -
setMatchUnstable
@DataBoundSetter public void setMatchUnstable(boolean matchUnstable) -
getMatchFailure
public boolean getMatchFailure() -
setMatchFailure
@DataBoundSetter public void setMatchFailure(boolean matchFailure) -
getMatchAborted
public boolean getMatchAborted() -
setMatchAborted
@DataBoundSetter public void setMatchAborted(boolean matchAborted) -
getMatchNotBuilt
public boolean getMatchNotBuilt() -
setMatchNotBuilt
@DataBoundSetter public void setMatchNotBuilt(boolean matchNotBuilt) -
matches
Description copied from class:Condition
Decides if the build matches given criteria to be updated or not.
-