@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-20T00:39:28.397Z") @Stability(value=Experimental) public class Gitpod extends Component implements IDevEnvironment
| Modifier and Type | Class and Description |
|---|---|
static class |
Gitpod.Builder
(experimental) A fluent builder for
Gitpod. |
software.amazon.jsii.JsiiObject.InitializationModeIDevEnvironment.Jsii$Default, IDevEnvironment.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Gitpod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Gitpod(software.amazon.jsii.JsiiObjectRef objRef) |
|
Gitpod(Project project) |
|
Gitpod(Project project,
GitpodOptions options) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomTask(GitpodTask options)
(experimental) Add a task with more granular options.
|
void |
addDockerImage(DevEnvironmentDockerImage image)
(experimental) Add a custom Docker image or Dockerfile for the container.
|
void |
addPorts(String... ports)
(experimental) Add ports that should be exposed (forwarded) from the container.
|
void |
addPrebuilds(GitpodPrebuilds config)
(experimental) Add a prebuilds configuration for the Gitpod App.
|
void |
addTasks(Task... tasks)
(experimental) Add tasks to run when gitpod starts.
|
void |
addVscodeExtensions(String... extensions)
(experimental) Add a list of VSCode extensions that should be automatically installed in the container.
|
Object |
getConfig()
(experimental) Direct access to the gitpod configuration (escape hatch).
|
getProject, postSynthesize, preSynthesize, synthesizejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected Gitpod(software.amazon.jsii.JsiiObjectRef objRef)
protected Gitpod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public Gitpod(@NotNull
Project project,
@Nullable
GitpodOptions options)
project - This parameter is required.options - @Stability(value=Experimental)
public Gitpod(@NotNull
Project project)
project - This parameter is required.@Stability(value=Experimental)
public void addCustomTask(@NotNull
GitpodTask options)
By default, all tasks will be run in parallel. To run tasks in sequence,
create a new Task and set the other tasks as subtasks.
options - The task parameters. This parameter is required.@Stability(value=Experimental)
public void addDockerImage(@NotNull
DevEnvironmentDockerImage image)
addDockerImage in interface IDevEnvironmentimage - The Docker image. This parameter is required.@Stability(value=Experimental)
public void addPorts(@NotNull
String... ports)
addPorts in interface IDevEnvironmentports - The new ports. This parameter is required.@Stability(value=Experimental)
public void addPrebuilds(@NotNull
GitpodPrebuilds config)
config - The configuration. This parameter is required.@Stability(value=Experimental)
public void addTasks(@NotNull
Task... tasks)
By default, all tasks will be run in parallel. To run tasks in sequence,
create a new Task and specify the other tasks as subtasks.
addTasks in interface IDevEnvironmenttasks - The new tasks. This parameter is required.@Stability(value=Experimental)
public void addVscodeExtensions(@NotNull
String... extensions)
These must be in the format defined in the Open VSX registry.
Example:
// Example automatically generated from non-compiling source. May contain errors. 'scala-lang.scala@0.3.9:O5XmjwY5Gz+0oDZAmqneJw=='
addVscodeExtensions in interface IDevEnvironmentextensions - The extension IDs. This parameter is required.https://www.gitpod.io/docs/vscode-extensions/@Stability(value=Experimental) @NotNull public Object getConfig()
Copyright © 2021. All rights reserved.