Class BuildCondition
- java.lang.Object
-
- org.jenkinsci.plugins.pipeline.modeldefinition.model.BuildCondition
-
- All Implemented Interfaces:
ExtensionPoint,Serializable
public abstract class BuildCondition extends Object implements Serializable, ExtensionPoint
Extension point for build conditions.- Author:
- Andrew Bayer
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description BuildCondition()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ExtensionList<BuildCondition>all()All the registeredBuildConditions.protected ResultcombineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run)Deprecated.protected ResultcombineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error)Deprecated.protected 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>getConditionMethods()abstract StringgetDescription()protected ResultgetExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r)static ResultgetFlowExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r)static List<String>getOrderedConditionNames()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)
-
-
-
Method Detail
-
meetsCondition
@Deprecated public boolean meetsCondition(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r)
Deprecated.
-
meetsCondition
public boolean meetsCondition(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r, Object context, Throwable error)
-
meetsCondition
@Deprecated public boolean meetsCondition(@NonNull Object runWrapperObj)
Deprecated.
-
meetsCondition
public boolean meetsCondition(@NonNull Object runWrapperObj, Object context, Throwable error)
-
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
@NonNull protected final Result combineResults(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @CheckForNull Throwable error, @CheckForNull Object context)
-
getExecutionResult
@CheckForNull protected Result getExecutionResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r)
-
getDescription
public abstract String getDescription()
-
all
public static ExtensionList<BuildCondition> all()
All the registeredBuildConditions.- Returns:
- A list of all registered
BuildConditions.
-
getConditionMethods
public static Map<String,BuildCondition> getConditionMethods()
-
getCombinedResult
@Deprecated @NonNull public static Result getCombinedResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @CheckForNull Throwable error)
Deprecated.
-
getCombinedResult
@NonNull public static Result getCombinedResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun run, @CheckForNull Throwable error, @CheckForNull Object context)
-
getFlowExecutionResult
@CheckForNull public static Result getFlowExecutionResult(@NonNull org.jenkinsci.plugins.workflow.job.WorkflowRun r)
-
-