@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.637Z") @Stability(value=Experimental) public class InitCommand extends InitElement
| Modifier | Constructor and Description |
|---|---|
protected |
InitCommand(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
InitCommand(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
static InitCommand |
argvCommand(List<String> argv)
(experimental) Run a command from an argv array.
|
static InitCommand |
argvCommand(List<String> argv,
InitCommandOptions options)
(experimental) Run a command from an argv array.
|
String |
getElementType()
(experimental) Returns the init element type for this element.
|
static InitCommand |
shellCommand(String shellCommand)
(experimental) Run a shell command.
|
static InitCommand |
shellCommand(String shellCommand,
InitCommandOptions options)
(experimental) Run a shell command.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected InitCommand(software.amazon.jsii.JsiiObjectRef objRef)
protected InitCommand(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) @NotNull public static InitCommand argvCommand(@NotNull List<String> argv, @Nullable InitCommandOptions options)
You do not need to escape space characters or enclose command parameters in quotes.
argv - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitCommand argvCommand(@NotNull List<String> argv)
You do not need to escape space characters or enclose command parameters in quotes.
argv - This parameter is required.@Stability(value=Experimental) @NotNull public static InitCommand shellCommand(@NotNull String shellCommand, @Nullable InitCommandOptions options)
Remember that some characters like &, |, ;, > etc. have special meaning in a shell and
need to be preceded by a \ if you want to treat them as part of a filename.
shellCommand - This parameter is required.options - @Stability(value=Experimental) @NotNull public static InitCommand shellCommand(@NotNull String shellCommand)
Remember that some characters like &, |, ;, > etc. have special meaning in a shell and
need to be preceded by a \ if you want to treat them as part of a filename.
shellCommand - This parameter is required.@Stability(value=Experimental) @NotNull public String getElementType()
getElementType in class InitElementCopyright © 2021. All rights reserved.