aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/model/ContentService.java
blob: 36a47dbe3af294bcd57515283bfb7f535e6f51cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.orchestrator.model;

public enum ContentService {
    DISTRIBUTOR("distributor"), STORAGE_NODE("storage");

    private final String nameInClusterController;

    ContentService(String nameInClusterController) {
        this.nameInClusterController = nameInClusterController;
    }

    public String nameInClusterController() { return nameInClusterController; }

}