blob: 3a98926805fac9a3062adcba6c93e65628b682a6 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.controller.api.application.v4.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.yahoo.vespa.hosted.controller.api.application.v4.model.configserverbindings.ConfigChangeActions;
import com.yahoo.vespa.hosted.controller.api.identifiers.RevisionId;
import java.util.List;
/**
* @author gjoranv
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class DeployResult {
public final RevisionId revisionId;
public final Long applicationZipSize;
public final List<LogEntry> prepareMessages;
public final ConfigChangeActions configChangeActions;
@JsonCreator
public DeployResult(@JsonProperty("revisionId") RevisionId revisionId,
@JsonProperty("applicationZipSize") Long applicationZipSize,
@JsonProperty("prepareMessages") List<LogEntry> prepareMessages,
@JsonProperty("configChangeActions") ConfigChangeActions configChangeActions) {
this.revisionId = revisionId;
this.applicationZipSize = applicationZipSize;
this.prepareMessages = prepareMessages;
this.configChangeActions = configChangeActions;
}
@Override
public String toString() {
return "DeployResult{" +
"revisionId=" + revisionId.id() +
", applicationZipSize=" + applicationZipSize +
", prepareMessages=" + prepareMessages +
", configChangeActions=" + configChangeActions +
'}';
}
}
|