public final class CrashingRunner extends PipelineRunner<PipelineResult>
PipelineRunner that applies no overrides and throws an exception on calls to
Pipeline.run(). For use in TestPipeline to construct but not execute pipelines.| Constructor and Description |
|---|
CrashingRunner() |
| Modifier and Type | Method and Description |
|---|---|
static CrashingRunner |
fromOptions(PipelineOptions opts) |
PipelineResult |
run(Pipeline pipeline)
Processes the given Pipeline, returning the results.
|
applypublic static CrashingRunner fromOptions(PipelineOptions opts)
public PipelineResult run(Pipeline pipeline)
PipelineRunnerrun in class PipelineRunner<PipelineResult>