Class EphemeralContainerStepRule
java.lang.Object
hudson.model.AbstractDescribableImpl<EphemeralContainerStepRule>
io.jenkins.plugins.kubernetes.ephemeral.EphemeralContainerStepRule
- All Implemented Interfaces:
ExtensionPoint
,Describable<EphemeralContainerStepRule>
- Direct Known Subclasses:
ContainerImageRule
public abstract class EphemeralContainerStepRule
extends AbstractDescribableImpl<EphemeralContainerStepRule>
implements ExtensionPoint
Ephemeral container step rule. Rules are evaluated before the step is executed and may cause the step
to be aborted before the container is added to the Pod.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
EphemeralContainerStepRule
result action.static class
EphemeralContainerStepRule
result.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Optional<EphemeralContainerStepRule.Result>
test
(EphemeralContainerStep step) Evaluate rule for the current step.sMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
EphemeralContainerStepRule
public EphemeralContainerStepRule()
-
-
Method Details
-
test
@NonNull public abstract Optional<EphemeralContainerStepRule.Result> test(@NonNull EphemeralContainerStep step) Evaluate rule for the current step.s- Parameters:
step
- ephemeral container step- Returns:
- rule result
-