From a3c452af58c12283d76019509dd605f67f14532c Mon Sep 17 00:00:00 2001 From: elinuxhenrik Date: Tue, 27 Nov 2018 09:01:19 +0100 Subject: Fix sonar issues Change-Id: I4aff14b6afc5faaf95f28286dc6f2f741191e403 Issue-ID: DCAEGEN2-991 Signed-off-by: elinuxhenrik --- .../collectors/datafile/model/FileMetaData.java | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/FileMetaData.java (limited to 'datafile-commons') diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/FileMetaData.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/FileMetaData.java new file mode 100644 index 00000000..c3e7c154 --- /dev/null +++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/FileMetaData.java @@ -0,0 +1,45 @@ +/*- + * ============LICENSE_START======================================================= + * Copyright (C) 2018 Nordix Foundation. All rights reserved. + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ + +package org.onap.dcaegen2.collectors.datafile.model; + +import org.immutables.gson.Gson; +import org.immutables.value.Value; + +/** + * @author Henrik Andersson + */ +@Value.Immutable +@Gson.TypeAdapters +public interface FileMetaData { + String productName(); + + String vendorName(); + + String lastEpochMicrosec(); + + String sourceName(); + + String startEpochMicrosec(); + + String timeZoneOffset(); + + String changeIdentifier(); + + String changeType(); +} -- cgit 1.2.3-korg