@Stability(value=Experimental) public static final class GitpodTask.Builder extends Object implements software.amazon.jsii.Builder<GitpodTask>
GitpodTask| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
GitpodTask.Builder |
before(String before)
Sets the value of
GitpodTask.getBefore() |
GitpodTask |
build()
Builds the configured instance.
|
GitpodTask.Builder |
command(String command)
Sets the value of
GitpodTask.getCommand() |
GitpodTask.Builder |
init(String init)
Sets the value of
GitpodTask.getInit() |
GitpodTask.Builder |
name(String name)
Sets the value of
GitpodTask.getName() |
GitpodTask.Builder |
openIn(GitpodOpenIn openIn)
Sets the value of
GitpodTask.getOpenIn() |
GitpodTask.Builder |
openMode(GitpodOpenMode openMode)
Sets the value of
GitpodTask.getOpenMode() |
GitpodTask.Builder |
prebuild(String prebuild)
Sets the value of
GitpodTask.getPrebuild() |
@Stability(value=Experimental) public GitpodTask.Builder command(String command)
GitpodTask.getCommand()command - Required. This parameter is required.
The shell command to runthis@Stability(value=Experimental) public GitpodTask.Builder before(String before)
GitpodTask.getBefore()before - 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.this@Stability(value=Experimental) public GitpodTask.Builder init(String init)
GitpodTask.getInit()init - 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.
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.this@Stability(value=Experimental) public GitpodTask.Builder name(String name)
GitpodTask.getName()name - A name for this task.this@Stability(value=Experimental) public GitpodTask.Builder openIn(GitpodOpenIn openIn)
GitpodTask.getOpenIn()openIn - You can configure where in the IDE the terminal should be opened.this@Stability(value=Experimental) public GitpodTask.Builder openMode(GitpodOpenMode openMode)
GitpodTask.getOpenMode()openMode - You can configure how the terminal should be opened relative to the previous task.this@Stability(value=Experimental) public GitpodTask.Builder prebuild(String prebuild)
GitpodTask.getPrebuild()prebuild - The optional prebuild command will be executed during prebuilds.
It is meant to run additional long running
processes that could be useful, e.g. running test suites.this@Stability(value=Experimental) public GitpodTask build()
build in interface software.amazon.jsii.Builder<GitpodTask>GitpodTaskNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.