summaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/maintenance/servicedump/ArtifactProducer.java
blob: 83e83f1f4d2f49122b65c6e5334f9f46219b9ece (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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.maintenance.servicedump;

import com.yahoo.vespa.hosted.node.admin.nodeagent.NodeAgentContext;
import com.yahoo.vespa.hosted.node.admin.task.util.file.UnixPath;

import java.io.IOException;

/**
 * Produces service dump artifacts.
 *
 * @author bjorncs
 */
interface ArtifactProducer {

    String name();

    void produceArtifact(NodeAgentContext context, String configId, ServiceDumpReport.DumpOptions options,
                         UnixPath resultDirectoryInNode) throws IOException;


}