aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/nodeagent/NodeAgentContextFactory.java
blob: 4e40db6060259b7eea6c80b5e3203501aedd4476 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.node.admin.nodeagent;

import com.yahoo.vespa.hosted.node.admin.configserver.noderepository.Acl;
import com.yahoo.vespa.hosted.node.admin.configserver.noderepository.NodeSpec;

/**
 * @author freva
 */
@FunctionalInterface
public interface NodeAgentContextFactory {
    NodeAgentContext create(NodeSpec nodeSpec, Acl acl);
}