Class BuildCondition
java.lang.Object
org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition
- All Implemented Interfaces:
ExtensionPoint,Serializable
Extension point for build conditions.
- Author:
- Andrew Bayer
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BuildCondition>all()All the registeredBuildConditions.protected final ResultcombineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run) Deprecated.protected final ResultcombineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error) Deprecated.protected final ResultcombineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error, Object context) static ResultgetCombinedResult(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error) Deprecated.static ResultgetCombinedResult(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error, Object context) static Map<String,BuildCondition> abstract Stringprotected ResultgetExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r) static ResultgetFlowExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r) booleanmeetsCondition(Object runWrapperObj) Deprecated.booleanmeetsCondition(Object runWrapperObj, Object context, Throwable error) booleanmeetsCondition(org.jenkinsci.plugins.workflow.job.WorkflowRun r) Deprecated.booleanmeetsCondition(org.jenkinsci.plugins.workflow.job.WorkflowRun r, Object context, Throwable error)
-
Constructor Details
-
BuildCondition
public BuildCondition()
-
-
Method Details
-
meetsCondition
@Deprecated public boolean meetsCondition(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r) Deprecated. -
meetsCondition
-
meetsCondition
Deprecated. -
meetsCondition
-
combineResults
@Deprecated @NonNull protected final Result combineResults(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run) Deprecated. -
combineResults
@Deprecated @NonNull protected final Result combineResults(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @CheckForNull Throwable error) Deprecated. -
combineResults
-
getExecutionResult
@CheckForNull protected Result getExecutionResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r) -
getDescription
-
all
All the registeredBuildConditions.- Returns:
- A list of all registered
BuildConditions.
-
getOrderedConditionNames
-
getConditionMethods
-
getCombinedResult
@Deprecated @NonNull public static Result getCombinedResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @CheckForNull Throwable error) Deprecated. -
getCombinedResult
-
getFlowExecutionResult
@CheckForNull public static Result getFlowExecutionResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r)
-