com.yahoo.vespa.hosted.controller.api.integration.configserver.DeploymentResult Maven / Gradle / Ivy
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.integration.configserver;
import java.util.List;
import java.util.logging.Level;
import static java.util.Objects.requireNonNull;
/**
* The result of a deployment, carried out against a {@link ConfigServer}.
*
* @author jonmv
*/
public record DeploymentResult(String message, List log) {
public DeploymentResult {
requireNonNull(message);
requireNonNull(log);
}
public record LogEntry(long epochMillis, String message, Level level, boolean concernsPackage) {
public LogEntry {
requireNonNull(message);
requireNonNull(level);
}
}
}