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

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

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

import ai.databand.config.DbndConfig;
import ai.databand.log.TruncatedLog;

public class SaveTaskRunLog {

    private final String taskRunAttemptUid;

    private final TruncatedLog logBody;

    public SaveTaskRunLog(DbndConfig config, String taskRunAttemptUid, String logBody) {
        this(taskRunAttemptUid, new TruncatedLog(config, logBody));
    }

    public SaveTaskRunLog(String taskRunAttemptUid, TruncatedLog logBody) {
        this.taskRunAttemptUid = taskRunAttemptUid;
        this.logBody = logBody;
    }

    public String getTaskRunAttemptUid() {
        return taskRunAttemptUid;
    }

    public String getLogBody() {
        return logBody.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy