62e6b1bfe526015d06f27a42b054116debee9757
[dcaegen2/collectors/datafile.git] /
1 /*
2  * ============LICENSE_START======================================================================
3  * Copyright (C) 2018 NOKIA Intellectual Property, 2018 Nordix Foundation. All rights reserved.
4  * ===============================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
6  * in compliance with the License. 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 distributed under the License
11  * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
12  * or implied. See the License for the specific language governing permissions and limitations under
13  * the License.
14  * ============LICENSE_END========================================================================
15  */
16
17 package org.onap.dcaegen2.collectors.datafile.model;
18
19 public class ConsumerDmaapModelForUnitTest implements ConsumerDmaapModel {
20     private final String name;
21     private final String location;
22     private final String compression;
23     private final String fileFormatType;
24     private final String fileFormatVersion;
25
26     public ConsumerDmaapModelForUnitTest() {
27         this.name = "A20161224.1030-1045.bin.gz";
28         this.location = "target/A20161224.1030-1045.bin.gz";
29         this.compression = "gzip";
30         this.fileFormatType = "org.3GPP.32.435#measCollec";
31         this.fileFormatVersion = "V10";
32     }
33
34     @Override
35     public String getName() {
36         return name;
37     }
38
39     @Override
40     public String getLocation() {
41         return location;
42     }
43
44     @Override
45     public String getCompression() {
46         return compression;
47     }
48
49     @Override
50     public String getFileFormatType() {
51         return fileFormatType;
52     }
53
54     @Override
55     public String getFileFormatVersion() {
56         return fileFormatVersion;
57     }
58 }