aboutsummaryrefslogtreecommitdiffstats
path: root/hosted-api/src/main/java/ai/vespa/hosted/api/DeploymentResult.java
blob: 46410a3336fbdc36c39dc17bd5208f5959009b6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.hosted.api;


/**
 * Contains information about the result of a {@link Deployment} against a {@link ControllerHttpClient}.
 *
 * @author jonmv
 */
public class DeploymentResult {

    private final String message;
    private final long run;

    public DeploymentResult(String message, long run) {
        this.message = message;
        this.run = run;
    }

    public String message() {
        return message;
    }

    public long run() {
        return run;
    }

}