Class KubernetesEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.kubernetes.endpoint.KubernetesEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
- Since:
- 2.7
- Author:
- Christoph Deppisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the correlator.io.fabric8.kubernetes.client.KubernetesClientConstructs or gets the kubernetes client implementation.io.fabric8.kubernetes.client.ConfigGets the kubernetes client configuration.Gets the kubernetes message converter.com.fasterxml.jackson.databind.ObjectMapperGets the command object mapper.voidsetCorrelator(MessageCorrelator correlator) Set the reply message correlator.voidsetKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) Sets the kubernetesClient property.voidsetKubernetesClientConfig(io.fabric8.kubernetes.client.Config kubernetesClientConfig) Sets the kubernetes client configuration.voidsetMessageConverter(KubernetesMessageConverter messageConverter) Sets the kubernetes message converter.voidsetObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the command object mapper.Methods inherited from class org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingIntervalMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Constructor Details
-
KubernetesEndpointConfiguration
public KubernetesEndpointConfiguration()
-
-
Method Details
-
getKubernetesClient
public io.fabric8.kubernetes.client.KubernetesClient getKubernetesClient()Constructs or gets the kubernetes client implementation.- Returns:
-
setKubernetesClient
public void setKubernetesClient(io.fabric8.kubernetes.client.KubernetesClient kubernetesClient) Sets the kubernetesClient property.- Parameters:
kubernetesClient-
-
getKubernetesClientConfig
public io.fabric8.kubernetes.client.Config getKubernetesClientConfig()Gets the kubernetes client configuration.- Returns:
-
setKubernetesClientConfig
public void setKubernetesClientConfig(io.fabric8.kubernetes.client.Config kubernetesClientConfig) Sets the kubernetes client configuration.- Parameters:
kubernetesClientConfig-
-
setCorrelator
Set the reply message correlator.- Parameters:
correlator- the correlator to set
-
getCorrelator
Gets the correlator.- Returns:
- the correlator
-
getMessageConverter
Gets the kubernetes message converter.- Returns:
-
setMessageConverter
Sets the kubernetes message converter.- Parameters:
messageConverter-
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()Gets the command object mapper.- Returns:
-
setObjectMapper
public void setObjectMapper(com.fasterxml.jackson.databind.ObjectMapper objectMapper) Sets the command object mapper.- Parameters:
objectMapper-
-