aboutsummaryrefslogtreecommitdiffstats
path: root/application/src/main/java/com/yahoo/application/content/ContentCluster.java
blob: e8f83a1da6b10f50b555073456eb49e6cd756379 (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
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.application.content;

import com.yahoo.api.annotations.Beta;

import java.nio.file.Path;
import java.util.Collections;
import java.util.List;

/**
 * @author bratseth
 */
@Beta
public class ContentCluster {

    /**
     * Returns mock of the content clusters described in the application at the given path
     *
     * @param path the path to an application package
     * @return a mock content cluster
     */
    public static List<ContentCluster> fromPath(Path path) {
        // new DomContentBuilder().
        // TODO
        return Collections.<ContentCluster>emptyList();
    }

    /*
    public ConfigModel toConfigModel() {
        ConfigModel configModel = new ConfigModel();
        return configModel;
    }
    */

}