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
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<BuildCondition>
all()
All the registeredBuildCondition
s.protected final Result
combineResults
(org.jenkinsci.plugins.workflow.job.WorkflowRun run) Deprecated.protected final Result
combineResults
(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error) Deprecated.protected final Result
combineResults
(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error, Object context) static Result
getCombinedResult
(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error) Deprecated.static Result
getCombinedResult
(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error, Object context) static Map<String,
BuildCondition> abstract String
protected Result
getExecutionResult
(org.jenkinsci.plugins.workflow.job.WorkflowRun r) static Result
getFlowExecutionResult
(org.jenkinsci.plugins.workflow.job.WorkflowRun r) boolean
meetsCondition
(Object runWrapperObj) Deprecated.boolean
meetsCondition
(Object runWrapperObj, Object context, Throwable error) boolean
meetsCondition
(org.jenkinsci.plugins.workflow.job.WorkflowRun r) Deprecated.boolean
meetsCondition
(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 registeredBuildCondition
s.- Returns:
- A list of all registered
BuildCondition
s.
-
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)
-