Class TaskCommonOptions.Jsii$Proxy

    • 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

      • getCondition

        public final String getCondition()
        Description copied from interface: TaskCommonOptions
        (experimental) A shell command which determines if the this task should be executed.

        If the program exits with a zero exit code, steps will be executed. A non-zero code means that task will be skipped.

        Specified by:
        getCondition in interface TaskCommonOptions
      • getCwd

        public final String getCwd()
        Description copied from interface: TaskCommonOptions
        (experimental) The working directory for all steps in this task (unless overridden by the step).

        Default: - process.cwd()

        Specified by:
        getCwd in interface TaskCommonOptions
      • getEnv

        public final Map<String,​String> getEnv()
        Description copied from interface: TaskCommonOptions
        (experimental) Defines environment variables for the execution of this task.

        Values in this map will be evaluated in a shell, so you can do stuff like $(echo "foo").

        Default: {}

        Specified by:
        getEnv in interface TaskCommonOptions
      • getRequiredEnv

        public final List<String> getRequiredEnv()
        Description copied from interface: TaskCommonOptions
        (experimental) A set of environment variables that must be defined in order to execute this task.

        Task execution will fail if one of these is not defined.

        Specified by:
        getRequiredEnv in interface TaskCommonOptions
      • $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