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 registeredBuildCondition
s.protected Result
combineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run)
Deprecated.protected Result
combineResults(org.jenkinsci.plugins.workflow.job.WorkflowRun run, Throwable error)
Deprecated.protected 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>
getConditionMethods()
abstract String
getDescription()
protected Result
getExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r)
static Result
getFlowExecutionResult(org.jenkinsci.plugins.workflow.job.WorkflowRun r)
static List<String>
getOrderedConditionNames()
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)
-
-
-
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 registeredBuildCondition
s.- Returns:
- A list of all registered
BuildCondition
s.
-
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)
-
-