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

ai.databand.schema.LogMetric Maven / Gradle / Ivy

There is a newer version: 1.0.26.1
Show newest version
package ai.databand.schema;

public class LogMetric {

    private final String taskRunAttemptUid;
    private final Metric metric;
    private final String source;

    public LogMetric(String taskRunAttemptUid, Metric metric, String source) {
        this.taskRunAttemptUid = taskRunAttemptUid;
        this.metric = metric;
        this.source = source;
    }

    public LogMetric(String taskRunAttemptUid, Metric metric) {
        this.taskRunAttemptUid = taskRunAttemptUid;
        this.metric = metric;
        this.source = null;
    }

    public Metric getMetric() {
        return metric;
    }

    public String getTaskRunAttemptUid() {
        return taskRunAttemptUid;
    }

    public String getSource() {
        return source;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy