blob: 292136b1bcdc88bcc01800b46c93146f4ed59a1b (
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
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.configchange;
import com.yahoo.config.model.api.ConfigChangeAction;
import com.yahoo.config.model.api.ServiceInfo;
import java.util.List;
/**
* @author geirst
* @since 5.44
*/
public abstract class MockConfigChangeAction implements ConfigChangeAction {
private final String message;
private final List<ServiceInfo> services;
MockConfigChangeAction(String message, List<ServiceInfo> services) {
this.message = message;
this.services = services;
}
@Override
public String getMessage() {
return message;
}
@Override
public List<ServiceInfo> getServices() {
return services;
}
}
|