aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/main/java/com/yahoo/vespa/config/server/host/HostValidator.java
blob: 115d135b0c18a72373fc3be6ad225f8122dda871 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.host;

import com.yahoo.config.provision.ApplicationId;
import java.util.Collection;

/**
 * A read only host registry that has mappings from a host to application id
 *
 * @author Ulf Lilleengen
 */
public interface HostValidator {

    void verifyHosts(ApplicationId applicationId, Collection<String> newHosts);

}