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.UserAgentFactory
Modifier and Type | Method and Description |
---|---|
SerializableMatcher<PipelineResult> |
getOnCreateMatcher() |
SerializableMatcher<PipelineResult> |
getOnSuccessMatcher() |
java.lang.String |
getTempRoot() |
@Nullable java.lang.Long |
getTestTimeoutSeconds() |
boolean |
isBlockOnRun() |
void |
setBlockOnRun(boolean value) |
void |
setOnCreateMatcher(SerializableMatcher<PipelineResult> value) |
void |
setOnSuccessMatcher(SerializableMatcher<PipelineResult> value) |
void |
setTempRoot(java.lang.String value) |
void |
setTestTimeoutSeconds(java.lang.Long value) |
as, getJobName, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, revision, setJobName, 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=900L) @Nullable java.lang.Long getTestTimeoutSeconds()
void setTestTimeoutSeconds(java.lang.Long value)
@Default.Boolean(value=true) boolean isBlockOnRun()
void setBlockOnRun(boolean value)