blob: 17f49df519375a7cf267a16e4cc8f2e754ebf4d6 (
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
44
45
46
47
48
49
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server;
import com.yahoo.config.ConfigInstance;
import com.yahoo.config.FileReference;
import com.yahoo.config.model.api.HostInfo;
import com.yahoo.config.model.api.Model;
import com.yahoo.config.provision.AllocatedHosts;
import com.yahoo.vespa.config.ConfigKey;
import com.yahoo.vespa.config.buildergen.ConfigDefinition;
import java.util.Collection;
import java.util.HashSet;
import java.util.Set;
/**
* @author bratseth
*/
public class ModelStub implements Model {
@Override
public ConfigInstance.Builder getConfigInstance(ConfigKey<?> configKey, ConfigDefinition targetDef) {
throw new UnsupportedOperationException();
}
@Override
public Set<ConfigKey<?>> allConfigsProduced() {
return null;
}
@Override
public Collection<HostInfo> getHosts() {
return null;
}
@Override
public Set<String> allConfigIds() {
return null;
}
@Override
public Set<FileReference> fileReferences() { return new HashSet<>(); }
@Override
public AllocatedHosts allocatedHosts() {
return null;
}
}
|