Class AbstractOperatorExtension.AbstractBuilder<T extends AbstractOperatorExtension.AbstractBuilder<T>>
- java.lang.Object
-
- io.javaoperatorsdk.operator.junit.AbstractOperatorExtension.AbstractBuilder<T>
-
- Direct Known Subclasses:
ClusterDeployedOperatorExtension.Builder,LocallyRunOperatorExtension.Builder
- Enclosing class:
- AbstractOperatorExtension
public abstract static class AbstractOperatorExtension.AbstractBuilder<T extends AbstractOperatorExtension.AbstractBuilder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected List<io.fabric8.kubernetes.api.model.HasMetadata>infrastructureprotected DurationinfrastructureTimeoutprotected intnamespaceDeleteTimeoutprotected booleanoneNamespacePerClassprotected booleanpreserveNamespaceOnErrorprotected booleanwaitForNamespaceDeletion
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ToneNamespacePerClass(boolean value)TpreserveNamespaceOnError(boolean value)TwaitForNamespaceDeletion(boolean value)TwithConfigurationService(Consumer<ConfigurationServiceOverrider> overrider)TwithInfrastructure(io.fabric8.kubernetes.api.model.HasMetadata... hms)TwithInfrastructure(List<io.fabric8.kubernetes.api.model.HasMetadata> hm)TwithInfrastructureTimeout(Duration value)TwithNamespaceDeleteTimeout(int timeout)
-
-
-
Field Detail
-
infrastructure
protected final List<io.fabric8.kubernetes.api.model.HasMetadata> infrastructure
-
infrastructureTimeout
protected Duration infrastructureTimeout
-
preserveNamespaceOnError
protected boolean preserveNamespaceOnError
-
waitForNamespaceDeletion
protected boolean waitForNamespaceDeletion
-
oneNamespacePerClass
protected boolean oneNamespacePerClass
-
namespaceDeleteTimeout
protected int namespaceDeleteTimeout
-
-
Method Detail
-
preserveNamespaceOnError
public T preserveNamespaceOnError(boolean value)
-
waitForNamespaceDeletion
public T waitForNamespaceDeletion(boolean value)
-
oneNamespacePerClass
public T oneNamespacePerClass(boolean value)
-
withConfigurationService
public T withConfigurationService(Consumer<ConfigurationServiceOverrider> overrider)
-
withInfrastructure
public T withInfrastructure(List<io.fabric8.kubernetes.api.model.HasMetadata> hm)
-
withInfrastructure
public T withInfrastructure(io.fabric8.kubernetes.api.model.HasMetadata... hms)
-
withNamespaceDeleteTimeout
public T withNamespaceDeleteTimeout(int timeout)
-
-