All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.powsybl.metrix.mapping.log.Log Maven / Gradle / Ivy

/*
 * Copyright (c) 2021, RTE (http://www.rte-france.com)
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 * SPDX-License-Identifier: MPL-2.0
 */
package com.powsybl.metrix.mapping.log;

import com.powsybl.timeseries.TimeSeriesIndex;

/**
 * @author Valentin Berthault {@literal }
 */
public class Log {

    private final System.Logger.Level level;

    private final TimeSeriesIndex index;

    private final int version;

    private final int point;

    private final String label;

    private final String message;

    public Log(System.Logger.Level level, TimeSeriesIndex index, int version, int point, String label, String message) {
        this.level = level;
        this.index = index;
        this.version = version;
        this.point = point;
        this.label = label;
        this.message = message;
    }

    public final TimeSeriesIndex getIndex() {
        return index;
    }

    public final int getVersion() {
        return version;
    }

    public final int getPoint() {
        return point;
    }

    public final System.Logger.Level getLevel() {
        return level;
    }

    public final String getLabel() {
        return label;
    }

    public final String getMessage() {
        return message;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy