Containerization feature of SO
[so.git] / adapters / mso-adapter-utils / src / main / java / org / onap / so / config / beans / PoConfig.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
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
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
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=========================================================
19  */
20
21 package org.onap.so.config.beans;
22
23 import org.springframework.boot.context.properties.ConfigurationProperties;
24 import org.springframework.context.annotation.Configuration;
25
26 @Configuration
27 @ConfigurationProperties(prefix="adapters.po")
28 public class PoConfig {
29
30         private String retryCodes;
31         private int retryDelay;
32         private int retryCount;
33         
34         public String getRetryCodes() {
35                 return retryCodes;
36         }
37         public void setRetryCodes(String retryCodes) {
38                 this.retryCodes = retryCodes;
39         }
40         public int getRetryDelay() {
41                 return retryDelay;
42         }
43         public void setRetryDelay(int retryDelay) {
44                 this.retryDelay = retryDelay;
45         }
46         public int getRetryCount() {
47                 return retryCount;
48         }
49         public void setRetryCount(int retryCount) {
50                 this.retryCount = retryCount;
51         }
52         
53 }