io.camunda.zeebe.spring.client.properties.common.ZeebeClientProperties Maven / Gradle / Ivy
/*
* Copyright © 2017 camunda services GmbH ([email protected])
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package io.camunda.zeebe.spring.client.properties.common;
import io.camunda.zeebe.spring.client.annotation.value.ZeebeWorkerValue;
import java.net.URI;
import java.time.Duration;
import java.util.Map;
public class ZeebeClientProperties extends ApiProperties {
private Integer executionThreads;
private Duration messageTimeToLive;
private Integer maxMessageSize;
private Integer maxMetadataSize;
private Duration requestTimeout;
private String caCertificatePath;
private Duration keepAlive;
private String overrideAuthority;
private ZeebeWorkerValue defaults;
private Map override;
private boolean preferRestOverGrpc;
private URI grpcAddress;
private URI restAddress;
public ZeebeWorkerValue getDefaults() {
return defaults;
}
public void setDefaults(final ZeebeWorkerValue defaults) {
this.defaults = defaults;
}
public Map getOverride() {
return override;
}
public void setOverride(final Map override) {
this.override = override;
}
public Integer getExecutionThreads() {
return executionThreads;
}
public void setExecutionThreads(final Integer executionThreads) {
this.executionThreads = executionThreads;
}
public Duration getMessageTimeToLive() {
return messageTimeToLive;
}
public void setMessageTimeToLive(final Duration messageTimeToLive) {
this.messageTimeToLive = messageTimeToLive;
}
public Duration getRequestTimeout() {
return requestTimeout;
}
public void setRequestTimeout(final Duration requestTimeout) {
this.requestTimeout = requestTimeout;
}
public String getCaCertificatePath() {
return caCertificatePath;
}
public void setCaCertificatePath(final String caCertificatePath) {
this.caCertificatePath = caCertificatePath;
}
public Duration getKeepAlive() {
return keepAlive;
}
public void setKeepAlive(final Duration keepAlive) {
this.keepAlive = keepAlive;
}
public String getOverrideAuthority() {
return overrideAuthority;
}
public void setOverrideAuthority(final String overrideAuthority) {
this.overrideAuthority = overrideAuthority;
}
public Integer getMaxMessageSize() {
return maxMessageSize;
}
public void setMaxMessageSize(final Integer maxMessageSize) {
this.maxMessageSize = maxMessageSize;
}
public Integer getMaxMetadataSize() {
return maxMetadataSize;
}
public void setMaxMetadataSize(final Integer maxMetadataSize) {
this.maxMetadataSize = maxMetadataSize;
}
public boolean isPreferRestOverGrpc() {
return preferRestOverGrpc;
}
public void setPreferRestOverGrpc(final boolean preferRestOverGrpc) {
this.preferRestOverGrpc = preferRestOverGrpc;
}
public URI getGrpcAddress() {
return grpcAddress;
}
public void setGrpcAddress(final URI grpcAddress) {
this.grpcAddress = grpcAddress;
}
public URI getRestAddress() {
return restAddress;
}
public void setRestAddress(final URI restAddress) {
this.restAddress = restAddress;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy