Class OcpRegistryDeployer.Builder
- java.lang.Object
-
- io.debezium.testing.system.tools.registry.OcpRegistryDeployer.Builder
-
- All Implemented Interfaces:
Deployer.Builder<OcpRegistryDeployer.Builder,OcpRegistryDeployer>
- Enclosing class:
- OcpRegistryDeployer
public static class OcpRegistryDeployer.Builder extends Object implements Deployer.Builder<OcpRegistryDeployer.Builder,OcpRegistryDeployer>
-
-
Field Summary
Fields Modifier and Type Field Description private okhttp3.OkHttpClienthttpClientprivate StringidTopicYamlPathprivate KafkaControllerkafkaControllerprivate io.fabric8.openshift.client.OpenShiftClientocpClientprivate Stringprojectprivate StringstorageTopicYamlPathprivate StringyamlPath
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OcpRegistryDeployerbuild()OcpRegistryDeployer.BuilderwithHttpClient(okhttp3.OkHttpClient httpClient)OcpRegistryDeployer.BuilderwithKafkaController(KafkaController kafkaController)OcpRegistryDeployer.BuilderwithOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)OcpRegistryDeployer.BuilderwithProject(String project)OcpRegistryDeployer.BuilderwithTopicsYamlPath(String storageTopicYamlPath, String idTopicYamlPath)OcpRegistryDeployer.BuilderwithYamlPath(String yamlPath)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.debezium.testing.system.tools.Deployer.Builder
self
-
-
-
-
Field Detail
-
project
private String project
-
ocpClient
private io.fabric8.openshift.client.OpenShiftClient ocpClient
-
httpClient
private okhttp3.OkHttpClient httpClient
-
yamlPath
private String yamlPath
-
storageTopicYamlPath
private String storageTopicYamlPath
-
idTopicYamlPath
private String idTopicYamlPath
-
kafkaController
private KafkaController kafkaController
-
-
Method Detail
-
withProject
public OcpRegistryDeployer.Builder withProject(String project)
-
withOcpClient
public OcpRegistryDeployer.Builder withOcpClient(io.fabric8.openshift.client.OpenShiftClient ocpClient)
-
withHttpClient
public OcpRegistryDeployer.Builder withHttpClient(okhttp3.OkHttpClient httpClient)
-
withYamlPath
public OcpRegistryDeployer.Builder withYamlPath(String yamlPath)
-
withTopicsYamlPath
public OcpRegistryDeployer.Builder withTopicsYamlPath(String storageTopicYamlPath, String idTopicYamlPath)
-
withKafkaController
public OcpRegistryDeployer.Builder withKafkaController(KafkaController kafkaController)
-
build
public OcpRegistryDeployer build()
- Specified by:
buildin interfaceDeployer.Builder<OcpRegistryDeployer.Builder,OcpRegistryDeployer>
-
-