Interface Run
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Run.Jsii$Proxy
@Generated(value="jsii-pacmak/1.96.0 (build 921e240)", date="2024-03-28T21:16:43.062Z") @Stability(Experimental) public interface Run extends software.amazon.jsii.JsiiSerializable
(experimental) Used for invoking all command-line programs, taking either a map of configuration values, or, when called in its short-form, a string that will be used as both the command and name.Run commands are executed using non-login shells by default, so you must explicitly source any dotfiles as part of the command.
Not used because type incompatible types in steps array
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classRun.BuilderA builder forRunstatic classRun.Jsii$ProxyAn implementation forRun
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static Run.Builderbuilder()default StringgetBackground()(experimental) Whether this step should run in the background (default: false).StringgetCommand()(experimental) Command to run via the shell.default StringgetEnvironment()(experimental) Additional environmental variables, locally scoped to command.default StringgetName()(experimental) Title of the step to be shown in the CircleCI UI (default: full command).default StringgetNoOutputTimeout()(experimental) Elapsed time the command can run without output such as “20m”, “1.25h”, “5s”.default StringgetShell()(experimental) Shell to use for execution command.default StringgetWhen()(experimental) Specify when to enable or disable the step.default StringgetWorkingDirectory()(experimental) In which directory to run this step.
-
-
-
Method Detail
-
getCommand
@Stability(Experimental) @NotNull String getCommand()
(experimental) Command to run via the shell.
-
getBackground
@Stability(Experimental) @Nullable default String getBackground()
(experimental) Whether this step should run in the background (default: false).
-
getEnvironment
@Stability(Experimental) @Nullable default String getEnvironment()
(experimental) Additional environmental variables, locally scoped to command.
-
getName
@Stability(Experimental) @Nullable default String getName()
(experimental) Title of the step to be shown in the CircleCI UI (default: full command).
-
getNoOutputTimeout
@Stability(Experimental) @Nullable default String getNoOutputTimeout()
(experimental) Elapsed time the command can run without output such as “20m”, “1.25h”, “5s”. The default is 10 minutes.
-
getShell
@Stability(Experimental) @Nullable default String getShell()
(experimental) Shell to use for execution command.
-
getWhen
@Stability(Experimental) @Nullable default String getWhen()
(experimental) Specify when to enable or disable the step.
-
getWorkingDirectory
@Stability(Experimental) @Nullable default String getWorkingDirectory()
(experimental) In which directory to run this step.Will be interpreted relative to the working_directory of the job). (default: .)
-
builder
@Stability(Experimental) static Run.Builder builder()
- Returns:
- a
Run.BuilderofRun
-
-