Modify emsdriver Code
[vfc/nfvo/driver/ems.git] / ems / boco / src / main / java / org / onap / vfc / nfvo / emsdriver / commons / model / CrontabVo.java
1 /**
2  * Copyright 2017 BOCO Corporation.  CMCC Technologies Co., Ltd
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package org.onap.vfc.nfvo.emsdriver.commons.model;
17
18 /**
19  * @author boco
20  *
21  */
22 public class CrontabVo {
23         
24         private String type;
25         
26         private String crontab;
27         private String match;
28         private String granularity;
29         
30         private boolean iscollect = false;
31         
32         private String read_timeout;
33
34         /**
35          * @return the type
36          */
37         public String getType() {
38                 return type;
39         }
40
41         /**
42          * @param type the type to set
43          */
44         public void setType(String type) {
45                 this.type = type;
46         }
47
48         /**
49          * @return the crontab
50          */
51         public String getCrontab() {
52                 return crontab;
53         }
54
55         /**
56          * @param crontab the crontab to set
57          */
58         public void setCrontab(String crontab) {
59                 this.crontab = crontab;
60         }
61
62         /**
63          * @return the match
64          */
65         public String getMatch() {
66                 return match;
67         }
68
69         /**
70          * @param match the match to set
71          */
72         public void setMatch(String match) {
73                 this.match = match;
74         }
75
76         /**
77          * @return the granularity
78          */
79         public String getGranularity() {
80                 return granularity;
81         }
82
83         /**
84          * @param granularity the granularity to set
85          */
86         public void setGranularity(String granularity) {
87                 this.granularity = granularity;
88         }
89
90         /**
91          * @return the iscollect
92          */
93         public boolean isIscollect() {
94                 return iscollect;
95         }
96
97         /**
98          * @param iscollect the iscollect to set
99          */
100         public void setIscollect(boolean iscollect) {
101                 this.iscollect = iscollect;
102         }
103
104         /**
105          * @return the read_timeout
106          */
107         public String getRead_timeout() {
108                 return read_timeout;
109         }
110
111         /**
112          * @param read_timeout the read_timeout to set
113          */
114         public void setRead_timeout(String read_timeout) {
115                 this.read_timeout = read_timeout;
116         }
117
118         @Override
119         public String toString() {
120                 return "CrontabVo [type=" + type + ", crontab=" + crontab + ", match="
121                                 + match + ", granularity=" + granularity + ", iscollect="
122                                 + iscollect + ", read_timeout=" + read_timeout + "]";
123         }
124         
125         
126
127         
128 }