@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.402Z") @Stability(value=Experimental) public interface GitpodTask extends software.amazon.jsii.JsiiSerializable
Start Mode | Execution Fresh Workspace | before && init && command Restart Workspace | before && command Snapshot | before && command Prebuild | before && init && prebuild
| Modifier and Type | Interface and Description |
|---|---|
static class |
GitpodTask.Builder
A builder for
GitpodTask |
static class |
GitpodTask.Jsii$Proxy
An implementation for
GitpodTask |
| Modifier and Type | Method and Description |
|---|---|
static GitpodTask.Builder |
builder() |
default String |
getBefore()
(experimental) In case you need to run something even before init, that is a requirement for both init and command, you can use the before property.
|
String |
getCommand()
(experimental) Required.
|
default String |
getInit()
(experimental) The init property can be used to specify shell commands that should only be executed after a workspace was freshly cloned and needs to be initialized somehow.
|
default String |
getName()
(experimental) A name for this task.
|
default GitpodOpenIn |
getOpenIn()
(experimental) You can configure where in the IDE the terminal should be opened.
|
default GitpodOpenMode |
getOpenMode()
(experimental) You can configure how the terminal should be opened relative to the previous task.
|
default String |
getPrebuild()
(experimental) The optional prebuild command will be executed during prebuilds.
|
@Stability(value=Experimental) @NotNull String getCommand()
The shell command to run
@Stability(value=Experimental) @Nullable default String getBefore()
@Stability(value=Experimental) @Nullable default String getInit()
Such tasks are usually builds or downloading dependencies. Anything you only want to do once but not when you restart a workspace or start a snapshot.
@Stability(value=Experimental) @Nullable default String getName()
Default: - task names are omitted when blank
@Stability(value=Experimental) @Nullable default GitpodOpenIn getOpenIn()
Default: GitpodOpenIn.BOTTOM
@Stability(value=Experimental) @Nullable default GitpodOpenMode getOpenMode()
Default: GitpodOpenMode.TAB_AFTER
@Stability(value=Experimental) @Nullable default String getPrebuild()
It is meant to run additional long running processes that could be useful, e.g. running test suites.
@Stability(value=Experimental) static GitpodTask.Builder builder()
GitpodTask.Builder of GitpodTaskCopyright © 2021. All rights reserved.