Class AgentErrorCondition
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
-
- org.jenkinsci.plugins.workflow.flow.ErrorCondition
-
- org.jenkinsci.plugins.workflow.support.steps.AgentErrorCondition
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.flow.ErrorCondition>
,Serializable
@Restricted(org.kohsuke.accmod.restrictions.Beta.class) public final class AgentErrorCondition extends org.jenkinsci.plugins.workflow.flow.ErrorCondition
Determines whether a failure inExecutorStep
should be retried.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AgentErrorCondition.DescriptorImpl
-
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.flow.ErrorCondition
org.jenkinsci.plugins.workflow.flow.ErrorCondition.ErrorConditionDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description AgentErrorCondition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Throwable t, org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
test
public boolean test(Throwable t, org.jenkinsci.plugins.workflow.steps.StepContext context) throws IOException, InterruptedException
- Specified by:
test
in classorg.jenkinsci.plugins.workflow.flow.ErrorCondition
- Throws:
IOException
InterruptedException
-
-