Class 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 for GitpodTask
    • Nested Class Summary

      • Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject

        software.amazon.jsii.JsiiObject.InitializationMode
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Jsii$Proxy​(GitpodTask.Builder builder)
      Constructor that initializes the object based on literal property values passed by the GitpodTask.Builder.
      protected Jsii$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()  
      boolean equals​(Object o)  
      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.
      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.
      String getName()
      (experimental) A name for this task.
      GitpodOpenIn getOpenIn()
      (experimental) You can configure where in the IDE the terminal should be opened.
      GitpodOpenMode getOpenMode()
      (experimental) You can configure how the terminal should be opened relative to the previous task.
      String getPrebuild()
      (experimental) The optional prebuild command will be executed during prebuilds.
      int hashCode()  
      • Methods inherited from class software.amazon.jsii.JsiiObject

        jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
    • 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.
    • Method Detail

      • getCommand

        public final String getCommand()
        Description copied from interface: GitpodTask
        (experimental) Required.

        The shell command to run

        Specified by:
        getCommand in interface GitpodTask
      • 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:
        getBefore in interface GitpodTask
      • 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:
        getInit in interface GitpodTask
      • 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:
        getName in interface GitpodTask
      • 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:
        getOpenIn in interface GitpodTask
      • 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:
        getOpenMode in interface GitpodTask
      • 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:
        getPrebuild in interface GitpodTask
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object