Interface Pipeline

All Known Implementing Classes:
DefaultPipeline

public interface Pipeline
Represents a pipeline of commands connected by operators such as pipes, redirections, and conditional connectors.

A pipeline is built by chaining commands with operators:

 Pipeline pipeline = Pipeline.of("ls")
     .pipe("grep pattern")       // |
     .redirect(Path.of("out")) // > out
     .build();
 

Pipelines are immutable once built. Use of(String) to start building a pipeline.

Since:
4.0
See Also: