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

com.yahoo.vespa.hosted.controller.application.ActivateResult Maven / Gradle / Ivy

// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.application;

import com.yahoo.vespa.hosted.controller.api.identifiers.RevisionId;
import com.yahoo.vespa.hosted.controller.api.integration.configserver.PrepareResponse;

/**
 * @author Oyvind Gronnesby
 */
public class ActivateResult {
    // TODO jvenstad: Replace this class with just the PrepareResponse.

    private final RevisionId revisionId;
    private final PrepareResponse prepareResponse;
    private final long applicationZipSizeBytes;

    public ActivateResult(RevisionId revisionId, PrepareResponse prepareResponse, long applicationZipSizeBytes) {
        this.revisionId = revisionId;
        this.prepareResponse = prepareResponse;
        this.applicationZipSizeBytes = applicationZipSizeBytes;
    }

    public long applicationZipSizeBytes() {
        return applicationZipSizeBytes;
    }

    public RevisionId revisionId() {
        return revisionId;
    }

    public PrepareResponse prepareResponse() {
        return prepareResponse;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy