From d1eb0341b1da736c31069209c01d63679e3ffa28 Mon Sep 17 00:00:00 2001 From: Oleg Zhurakousky Date: Wed, 27 Jul 2022 14:31:41 +0200 Subject: [PATCH] Remove deprecations from web module --- .../web/source/SupplierProperties.java | 88 ------------------- 1 file changed, 88 deletions(-) delete mode 100644 spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/source/SupplierProperties.java diff --git a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/source/SupplierProperties.java b/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/source/SupplierProperties.java deleted file mode 100644 index bdd282b31..000000000 --- a/spring-cloud-function-web/src/main/java/org/springframework/cloud/function/web/source/SupplierProperties.java +++ /dev/null @@ -1,88 +0,0 @@ -/* - * Copyright 2012-2019 the original author or authors. - * - * 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 - * - * https://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 org.springframework.cloud.function.web.source; - -import java.util.LinkedHashMap; -import java.util.Map; - -import org.springframework.boot.context.properties.ConfigurationProperties; - -/** - * @author Dave Syer - * @deprecated in favour of {@link ExporterProperties} - */ -@ConfigurationProperties("spring.cloud.function.web.supplier") -@Deprecated -public class SupplierProperties { - - private boolean autoStartup = true; - - private boolean debug = true; - - private String name; - - private String templateUrl; - - private boolean enabled; - - private Map headers = new LinkedHashMap<>(); - - public boolean isEnabled() { - return this.enabled; - } - - public void setEnabled(boolean enabled) { - this.enabled = enabled; - } - - public boolean isAutoStartup() { - return this.autoStartup; - } - - public void setAutoStartup(boolean autoStartup) { - this.autoStartup = autoStartup; - } - - public boolean isDebug() { - return this.debug; - } - - public void setDebug(boolean debug) { - this.debug = debug; - } - - public String getName() { - return this.name; - } - - public void setName(String name) { - this.name = name; - } - - public String getTemplateUrl() { - return this.templateUrl; - } - - public void setTemplateUrl(String templateUrl) { - this.templateUrl = templateUrl; - } - - public Map getHeaders() { - return this.headers; - } - -}