public static interface ProcessLauncher.PrepareLaunchContext
Modifier and Type | Method and Description |
---|---|
ProcessLauncher.PrepareLaunchContext |
addCommand(String cmd,
String... args)
Adds a command line to run in the container process.
|
<V> ProcessLauncher.PrepareLaunchContext |
addEnvironment(String key,
V value)
Adds a key value pair to the container environment.
|
ProcessLauncher.PrepareLaunchContext |
addResources(Iterable<LocalFile> localFiles)
Adds list of files to be localized for the container.
|
ProcessLauncher.PrepareLaunchContext |
addResources(LocalFile... localFiles)
Adds list of files to be localized for the container.
|
<R> ProcessController<R> |
launch()
Launches the container process.
|
ProcessLauncher.PrepareLaunchContext addResources(LocalFile... localFiles)
ProcessLauncher.PrepareLaunchContext addResources(Iterable<LocalFile> localFiles)
<V> ProcessLauncher.PrepareLaunchContext addEnvironment(String key, V value)
ProcessLauncher.PrepareLaunchContext addCommand(String cmd, String... args)
<R> ProcessController<R> launch()
Copyright © 2013-2020 The Apache Software Foundation. All rights reserved.