public interface TestPipelineOptions extends PipelineOptions
TestPipelineOptions
is a set of options for test pipelines.TestPipeline
Modifier and Type | Interface and Description |
---|---|
static class |
TestPipelineOptions.AlwaysPassMatcher
Matcher which will always pass.
|
static class |
TestPipelineOptions.AlwaysPassMatcherFactory
Factory for
PipelineResult matchers which always pass. |
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.NoOpMetricsSink, PipelineOptions.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
SerializableMatcher<PipelineResult> |
getOnCreateMatcher() |
SerializableMatcher<PipelineResult> |
getOnSuccessMatcher() |
java.lang.String |
getTempRoot() |
java.lang.Long |
getTestTimeoutSeconds() |
void |
setOnCreateMatcher(SerializableMatcher<PipelineResult> value) |
void |
setOnSuccessMatcher(SerializableMatcher<PipelineResult> value) |
void |
setTempRoot(java.lang.String value) |
void |
setTestTimeoutSeconds(java.lang.Long value) |
as, getJobName, getMetricsHttpSinkUrl, getMetricsPushPeriod, getMetricsSink, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setMetricsHttpSinkUrl, setMetricsPushPeriod, setMetricsSink, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
java.lang.String getTempRoot()
void setTempRoot(java.lang.String value)
@Default.InstanceFactory(value=TestPipelineOptions.AlwaysPassMatcherFactory.class) SerializableMatcher<PipelineResult> getOnCreateMatcher()
void setOnCreateMatcher(SerializableMatcher<PipelineResult> value)
@Default.InstanceFactory(value=TestPipelineOptions.AlwaysPassMatcherFactory.class) SerializableMatcher<PipelineResult> getOnSuccessMatcher()
void setOnSuccessMatcher(SerializableMatcher<PipelineResult> value)
@Default.Long(value=600L) @Nullable java.lang.Long getTestTimeoutSeconds()
void setTestTimeoutSeconds(java.lang.Long value)