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 ConfigurationServiceconfigurationServiceprotected List<io.fabric8.kubernetes.api.model.HasMetadata>infrastructureprotected DurationinfrastructureTimeoutprotected 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(ConfigurationService value)TwithInfrastructure(io.fabric8.kubernetes.api.model.HasMetadata... hms)TwithInfrastructure(List<io.fabric8.kubernetes.api.model.HasMetadata> hm)TwithInfrastructureTimeout(Duration value)
-
-
-
Field Detail
-
configurationService
protected ConfigurationService configurationService
-
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
-
-
Method Detail
-
preserveNamespaceOnError
public T preserveNamespaceOnError(boolean value)
-
waitForNamespaceDeletion
public T waitForNamespaceDeletion(boolean value)
-
oneNamespacePerClass
public T oneNamespacePerClass(boolean value)
-
withConfigurationService
public T withConfigurationService(ConfigurationService value)
-
withInfrastructure
public T withInfrastructure(List<io.fabric8.kubernetes.api.model.HasMetadata> hm)
-
withInfrastructure
public T withInfrastructure(io.fabric8.kubernetes.api.model.HasMetadata... hms)
-
-