Package io.github.cdklabs.projen
Class GitpodTask.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- io.github.cdklabs.projen.GitpodTask.Jsii$Proxy
-
- All Implemented Interfaces:
GitpodTask,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- GitpodTask
@Stability(Experimental) @Internal public static final class GitpodTask.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements GitpodTask
An implementation forGitpodTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface io.github.cdklabs.projen.GitpodTask
GitpodTask.Builder, GitpodTask.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(GitpodTask.Builder builder)Constructor that initializes the object based on literal property values passed by theGitpodTask.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetBefore()(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.StringgetCommand()(experimental) Required.StringgetInit()(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.StringgetName()(experimental) A name for this task.GitpodOpenIngetOpenIn()(experimental) You can configure where in the IDE the terminal should be opened.GitpodOpenModegetOpenMode()(experimental) You can configure how the terminal should be opened relative to the previous task.StringgetPrebuild()(experimental) The optional prebuild command will be executed during prebuilds.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(GitpodTask.Builder builder)
Constructor that initializes the object based on literal property values passed by theGitpodTask.Builder.
-
-
Method Detail
-
getCommand
public final String getCommand()
Description copied from interface:GitpodTask(experimental) Required.The shell command to run
- Specified by:
getCommandin interfaceGitpodTask
-
getBefore
public final String getBefore()
Description copied from interface:GitpodTask(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.- Specified by:
getBeforein interfaceGitpodTask
-
getInit
public final String getInit()
Description copied from interface:GitpodTask(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.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.
- Specified by:
getInitin interfaceGitpodTask
-
getName
public final String getName()
Description copied from interface:GitpodTask(experimental) A name for this task.Default: - task names are omitted when blank
- Specified by:
getNamein interfaceGitpodTask
-
getOpenIn
public final GitpodOpenIn getOpenIn()
Description copied from interface:GitpodTask(experimental) You can configure where in the IDE the terminal should be opened.Default: GitpodOpenIn.BOTTOM
- Specified by:
getOpenInin interfaceGitpodTask
-
getOpenMode
public final GitpodOpenMode getOpenMode()
Description copied from interface:GitpodTask(experimental) You can configure how the terminal should be opened relative to the previous task.Default: GitpodOpenMode.TAB_AFTER
- Specified by:
getOpenModein interfaceGitpodTask
-
getPrebuild
public final String getPrebuild()
Description copied from interface:GitpodTask(experimental) 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.
- Specified by:
getPrebuildin interfaceGitpodTask
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-