aboutsummaryrefslogtreecommitdiffstats
path: root/node-admin/src/main/java/com/yahoo/vespa/hosted/node/admin/task/util/process/Terminal.java
blob: 1cf6b533d5ae5a4f52592528930d9f97ac805bd1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

package com.yahoo.vespa.hosted.node.admin.task.util.process;

import com.yahoo.vespa.hosted.node.admin.component.TaskContext;

/**
 * A Terminal is a light-weight terminal-like interface for executing shell-like programs.
 *
 * @author hakonhall
 */
public interface Terminal {
    CommandLine newCommandLine(TaskContext taskContext);
}