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

com.yahoo.vespa.hosted.controller.api.integration.configserver.DeploymentResult Maven / Gradle / Ivy

There is a newer version: 8.253.3
Show newest version
// 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);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy