public static final class ImmutableRuntimeConfig.Builder extends Object implements RuntimeConfig.Builder
ImmutableRuntimeConfig.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
| Modifier and Type | Method and Description |
|---|---|
ImmutableRuntimeConfig.Builder |
artifactStore(IArtifactStore artifactStore)
Initializes the value for the
artifactStore attribute. |
ImmutableRuntimeConfig |
build()
Builds a new
ImmutableRuntimeConfig. |
ImmutableRuntimeConfig.Builder |
commandLinePostProcessor(CommandLinePostProcessor commandLinePostProcessor)
Initializes the value for the
commandLinePostProcessor attribute. |
ImmutableRuntimeConfig.Builder |
from(RuntimeConfig instance)
Fill a builder with attribute values from the provided
RuntimeConfig instance. |
ImmutableRuntimeConfig.Builder |
isDaemonProcess(boolean isDaemonProcess)
Initializes the value for the
isDaemonProcess attribute. |
ImmutableRuntimeConfig.Builder |
processOutput(ProcessOutput processOutput)
Initializes the value for the
processOutput attribute. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessOutputpublic final ImmutableRuntimeConfig.Builder from(RuntimeConfig instance)
RuntimeConfig instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance - The instance from which to copy valuesthis builder for use in a chained invocationpublic final ImmutableRuntimeConfig.Builder processOutput(ProcessOutput processOutput)
processOutput attribute.processOutput in interface RuntimeConfig.BuilderprocessOutput - The value for processOutputthis builder for use in a chained invocationpublic final ImmutableRuntimeConfig.Builder commandLinePostProcessor(CommandLinePostProcessor commandLinePostProcessor)
commandLinePostProcessor attribute.
If not set, this attribute will have a default value as returned by the initializer of commandLinePostProcessor.
commandLinePostProcessor - The value for commandLinePostProcessorthis builder for use in a chained invocationpublic final ImmutableRuntimeConfig.Builder artifactStore(IArtifactStore artifactStore)
artifactStore attribute.artifactStore - The value for artifactStorethis builder for use in a chained invocationpublic final ImmutableRuntimeConfig.Builder isDaemonProcess(boolean isDaemonProcess)
isDaemonProcess attribute.
If not set, this attribute will have a default value as returned by the initializer of isDaemonProcess.
isDaemonProcess - The value for isDaemonProcessthis builder for use in a chained invocationpublic ImmutableRuntimeConfig build()
ImmutableRuntimeConfig.IllegalStateException - if any required attributes are missingCopyright © 2022. All rights reserved.