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="org.onap.so.adapters.po")
28 public class PoConfig {
30 private String retryCodes;
31 private int retryDelay;
32 private int retryCount;
33 private int pollTimeout;
34 private int pollInterval;
36 public String getRetryCodes() {
39 public void setRetryCodes(String retryCodes) {
40 this.retryCodes = retryCodes;
42 public int getRetryDelay() {
45 public void setRetryDelay(int retryDelay) {
46 this.retryDelay = retryDelay;
48 public int getRetryCount() {
51 public void setRetryCount(int retryCount) {
52 this.retryCount = retryCount;
54 public int getPollTimeout() {
57 public void setPollTimeout(int pollTimeout) {
58 this.pollTimeout = pollTimeout;
60 public int getPollInterval() {
63 public void setPollInterval(int pollInterval) {
64 this.pollInterval = pollInterval;