2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.onap.so.config.beans;
23 import org.springframework.boot.context.properties.ConfigurationProperties;
24 import org.springframework.context.annotation.Configuration;
27 @ConfigurationProperties(prefix="adapters.po")
28 public class PoConfig {
30 private String retryCodes;
31 private int retryDelay;
32 private int retryCount;
34 public String getRetryCodes() {
37 public void setRetryCodes(String retryCodes) {
38 this.retryCodes = retryCodes;
40 public int getRetryDelay() {
43 public void setRetryDelay(int retryDelay) {
44 this.retryDelay = retryDelay;
46 public int getRetryCount() {
49 public void setRetryCount(int retryCount) {
50 this.retryCount = retryCount;